]> 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)
commit5d42002681e964b29dfc221c48e39b277e4c67fd
tree36f6dcf58c7912163e41dac5e989365735a6a0a2
parent2c1b61131b244f82d3209ded4fe8aa3715ce9fa1
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]