tracing: Add syscall tracepoints
authorJason Baron <jbaron@redhat.com>
Mon, 10 Aug 2009 20:52:31 +0000 (16:52 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 11 Aug 2009 18:35:26 +0000 (20:35 +0200)
commita871bd33a6c0bc86fb47cd02ea2650dd43d3d95f
treeb5720cdb3168ba0894b4bd2c1acc004cb19a692c
parent63fbdab3157b72467013fe4dcf88c85e45280ef7
tracing: Add syscall tracepoints

add two tracepoints in syscall exit and entry path, conditioned on
TIF_SYSCALL_FTRACE. Supports the syscall trace event code.

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>
arch/x86/kernel/ptrace.c
include/trace/syscall.h
kernel/tracepoint.c