linux/tools/testing/selftests/ftrace/test.d
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
..
00basic selftests: ftrace: Have some basic tests run in a tracing instance too 2017-04-26 08:54:40 -04:00
event selftests: ftrace: Have event tests also run in an tracing instance 2017-04-26 08:54:32 -04:00
ftrace selftests/ftrace: Fix bashisms 2017-05-17 21:54:51 -04:00
instances selftests/ftrace: Add test to remove instance with active event triggers 2017-05-17 21:55:04 -04:00
kprobe selftests/ftrace: Add a testcase for many kprobe events 2017-05-26 22:37:00 -04:00
trigger selftests: ftrace: Allow some event trigger tests to run in an instance 2017-04-26 08:54:49 -04:00
functions selftests/ftrace: Fix bashisms 2017-05-17 21:54:51 -04:00
template ftracetest: Add POSIX.3 standard and XFAIL result codes 2014-10-03 16:44:02 -04:00