tracing: Add trace events for each syscall entry/exit
authorJason Baron <jbaron@redhat.com>
Mon, 10 Aug 2009 20:52:47 +0000 (16:52 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 11 Aug 2009 18:35:28 +0000 (20:35 +0200)
commitfb34a08c3469b2be9eae626ccb96476b4687b810
treef308cd109de2c967a1f8bd485eb9c398992a9414
parent69fd4f0eb2ececbf8ade55e31a933e174965745e
tracing: Add trace events for each syscall entry/exit

Layer Frederic's syscall tracer on tracepoints. We create trace events
via hooking into the SYSCALL_DEFINE macros. This allows us to
individually toggle syscall entry and exit points on/off.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Jiaying Zhang <jiayingz@google.com>
Cc: Martin Bligh <mbligh@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
include/linux/syscalls.h
include/trace/syscall.h
kernel/trace/trace_syscalls.c