mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 17:42:27 -04:00
Since ftracetest framework calls initialize_ftrace() right before each test and after all tests, we don't need to init/cleanup ftrace for each test case. Just remove such unneeded init/cleanup code because it can increase logfile size. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
11 lines
288 B
Bash
11 lines
288 B
Bash
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# description: Kprobe dynamic event - adding and removing
|
|
|
|
[ -f kprobe_events ] || exit_unsupported # this is configurable
|
|
|
|
echo p:myevent _do_fork > kprobe_events
|
|
grep myevent kprobe_events
|
|
test -d events/kprobes/myevent
|
|
echo > kprobe_events
|