aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_kprobe.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-10-16 20:07:20 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-17 03:53:57 -0400
commitf397af06e4c9bf5a0bc92facb8cb29905e338ab0 (patch)
tree6a8531ee75a1ffdf7b13d28c4788baee2fc8d27f /kernel/trace/trace_kprobe.c
parent23e8ec0d1c410f2f1d81050ee155db229abb1707 (diff)
tracing/kprobes: Update kprobe-tracer selftest against new syntax
Update kprobe-tracer selftest since command syntax has been changed. Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20091017000720.16556.26343.stgit@dhcp-100-2-132.bos.redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_kprobe.c')
-rw-r--r--kernel/trace/trace_kprobe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c
index 739f70e8e924..cdacdab10020 100644
--- a/kernel/trace/trace_kprobe.c
+++ b/kernel/trace/trace_kprobe.c
@@ -1438,12 +1438,12 @@ static __init int kprobe_trace_self_tests_init(void)
1438 pr_info("Testing kprobe tracing: "); 1438 pr_info("Testing kprobe tracing: ");
1439 1439
1440 ret = command_trace_probe("p:testprobe kprobe_trace_selftest_target " 1440 ret = command_trace_probe("p:testprobe kprobe_trace_selftest_target "
1441 "a1 a2 a3 a4 a5 a6"); 1441 "$arg1 $arg2 $arg3 $arg4 $stack $stack0");
1442 if (WARN_ON_ONCE(ret)) 1442 if (WARN_ON_ONCE(ret))
1443 pr_warning("error enabling function entry\n"); 1443 pr_warning("error enabling function entry\n");
1444 1444
1445 ret = command_trace_probe("r:testprobe2 kprobe_trace_selftest_target " 1445 ret = command_trace_probe("r:testprobe2 kprobe_trace_selftest_target "
1446 "ra rv"); 1446 "$retval");
1447 if (WARN_ON_ONCE(ret)) 1447 if (WARN_ON_ONCE(ret))
1448 pr_warning("error enabling function return\n"); 1448 pr_warning("error enabling function return\n");
1449 1449