linux-zen-server/tools/testing/selftests/ftrace/test.d/kprobe/add_and_remove.tc

10 lines
255 B
Plaintext
Raw Permalink Normal View History

2023-08-30 17:53:23 +02:00
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# description: Kprobe dynamic event - adding and removing
# requires: kprobe_events
echo p:myevent $FUNCTION_FORK > kprobe_events
grep myevent kprobe_events
test -d events/kprobes/myevent
echo > kprobe_events