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)
commit89c5497d1f933af56dac617f0fd86150942a7fb6
tree36f6dcf58c7912163e41dac5e989365735a6a0a2
parent915de2adb584acea89f3f654a6c9b329f682100f
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]