ftracetest: Add kprobes on ftrace testcase
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 20 Oct 2014 10:52:02 +0000 (12:52 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 3 Nov 2014 19:15:46 +0000 (14:15 -0500)
commitd20058f67405981a81344e6fec93f6f557fb96a2
tree1ef29875e4b7758e2a38adbddb8b4dcf7d3daa7b
parente7dbb48958897c0a80b14250a981a563d9160e4d
ftracetest: Add kprobes on ftrace testcase

Add a kprobes on ftrace testcase. The testcase verifies that
- enabling and disabling function tracing works on a function which
  already contains a dynamic kprobe
- adding and removing a dynamic kprobe works on a function which is
  already enabled for function tracing

Link: http://lkml.kernel.org/p/1413802323-5297-2-git-send-email-heiko.carstens@de.ibm.com
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/selftests/ftrace/test.d/kprobe/kprobe_ftrace.tc [new file with mode: 0644]