tracing/kprobe: Update kprobe tracing self test for new syntax
authorMasami Hiramatsu <mhiramat@redhat.com>
Thu, 14 Jan 2010 05:12:12 +0000 (00:12 -0500)
committerIngo Molnar <mingo@elte.hu>
Sun, 17 Jan 2010 07:15:35 +0000 (08:15 +0100)
commit231e36f4d2e63dd770db80b9f5113310c2bcfcfd
tree6ecff75b334f24234e0e44bed703cfaa809a7d10
parent0eda7385db1f30271ade830a231006938a76fb53
tracing/kprobe: Update kprobe tracing self test for new syntax

Update kprobe tracing self test for new syntax (it supports
deleting individual probes, and drops $argN support)
and behavior change (new probes are disabled in default).

This selftest includes the following checks:

 - Adding function-entry probe and return probe with arguments.
 - Enabling these probes.
 - Deleting it individually.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20100114051211.7814.29436.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_kprobe.c