staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / tools / testing / selftests / ftrace / test.d / kprobe / busy_check.tc
blob442c1a8c5edfdbbf0ef19adf3c9e39f9819feea2
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # description: Kprobe dynamic event - busy event check
5 [ -f kprobe_events ] || exit_unsupported
7 echo p:myevent _do_fork > kprobe_events
8 test -d events/kprobes/myevent
9 echo 1 > events/kprobes/myevent/enable
10 echo > kprobe_events && exit_fail # this must fail
11 echo 0 > events/kprobes/myevent/enable
12 echo > kprobe_events # this must succeed