hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/tools/testing/selftests/ftrace/test.d/kprobe/probepoint.tc
....@@ -1,8 +1,7 @@
11 #!/bin/sh
22 # SPDX-License-Identifier: GPL-2.0
33 # description: Kprobe events - probe points
4
-
5
-[ -f kprobe_events ] || exit_unsupported # this is configurable
4
+# requires: kprobe_events
65
76 TARGET_FUNC=tracefs_create_dir
87
....@@ -30,8 +29,6 @@
3029 UINT_TEST=yes
3130 fi
3231
33
-echo 0 > events/enable
34
-echo > kprobe_events
3532 echo "p:testprobe ${TARGET_FUNC}" > kprobe_events
3633 echo "p:testprobe ${TARGET}" > kprobe_events
3734 echo "p:testprobe ${TARGET_FUNC}${NEXT}" > kprobe_events
....@@ -39,5 +36,3 @@
3936 if [ "${UINT_TEST}" = yes ]; then
4037 ! echo "p:testprobe ${TARGET_FUNC}${OVERFLOW}" > kprobe_events
4138 fi
42
-echo > kprobe_events
43
-clear_trace