linux_dsm_epyc7002/tools/testing/selftests/ftrace/test.d/kprobe
Masami Hiramatsu bdd7e3d684 selftests/ftrace: Add a testcase for many kprobe events
Add a testcase to test kprobes via ftrace interface
with many concurrent kprobe events.

This tries to add many kprobe events (up to 256) on
kernel functions. To avoid making ftrace-based
kprobes (kprobes on fentry), it skips first N bytes
(on x86 N=5, on ppc or arm N=4) of function entry.
After that, it enables all those events, disable it,
and remove it.

Since the unoptimization buffer reclaiming will
be delayed, after removing events, it will wait
enough time.

Link: http://lkml.kernel.org/r/149577388470.11702.11832460851769204511.stgit@devbox

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2017-05-26 22:37:00 -04:00
..
add_and_remove.tc selftests: kprobe: Choose an always-defined function to probe 2015-11-03 16:54:51 -07:00
busy_check.tc selftests: kprobe: Choose an always-defined function to probe 2015-11-03 16:54:51 -07:00
kprobe_args_type.tc kselftest: ftrace: Fix to compare a zero-filled hex value 2017-04-11 09:39:06 -06:00
kprobe_args.tc selftests: kprobe: Choose an always-defined function to probe 2015-11-03 16:54:51 -07:00
kprobe_ftrace.tc selftests: kprobe: Choose an always-defined function to probe 2015-11-03 16:54:51 -07:00
kretprobe_args.tc selftests: kprobe: Choose an always-defined function to probe 2015-11-03 16:54:51 -07:00
kretprobe_maxactive.tc tracing/kprobes: expose maxactive for kretprobe in kprobe_events 2017-04-04 10:32:03 -04:00
multiple_kprobes.tc selftests/ftrace: Add a testcase for many kprobe events 2017-05-26 22:37:00 -04:00