]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/kprobes: Add selftest scripts testing kprobe-tracer as startup test
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 8 Oct 2014 04:03:07 +0000 (04:03 +0000)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 8 Oct 2014 15:21:46 +0000 (11:21 -0400)
commit4a445e92221810859d511ff0850a5fd639a2d800
tree36f6dcf58c7912163e41dac5e989365735a6a0a2
parent80a4a5c0557d02ba8d9fcaf74b8292eae0d3b526
tracing/kprobes: Add selftest scripts testing kprobe-tracer as startup test

Add two selftest scripts which tests kprobe-tracer as the startup
selftest does.
These test cases are testing that the kprobe_event can accept a
kprobe event with $stack related arguments and a kretprobe event
with $retval argument.

Link: http://lkml.kernel.org/p/20141008040307.13415.45145.stgit@kbuild-f20.novalocal
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_args.tc [new file with mode: 0644]
tools/testing/selftests/ftrace/test.d/kprobe/kretprobe_args.tc [new file with mode: 0644]