tracing: Create generic syscall TRACE_EVENTs
authorJosh Stone <jistone@redhat.com>
Mon, 24 Aug 2009 21:43:14 +0000 (14:43 -0700)
committerFrederic Weisbecker <fweisbec@gmail.com>
Tue, 25 Aug 2009 22:41:48 +0000 (00:41 +0200)
commit1c569f0264ea629c10bbab471dd0626ce4d3f19f
tree00fcbf85a7318c568f468518c3aa665a200c871e
parent97419875865859fd2403e66266c02ce028e2f5ab
tracing: Create generic syscall TRACE_EVENTs

This converts the syscall_enter/exit tracepoints into TRACE_EVENTs, so
you can have generic ftrace events that capture all system calls with
arguments and return values.  These generic events are also renamed to
sys_enter/exit, so they're more closely aligned to the specific
sys_enter_foo events.

Signed-off-by: Josh Stone <jistone@redhat.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Li Zefan <lizf@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: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
LKML-Reference: <1251150194-1713-5-git-send-email-jistone@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/s390/kernel/ptrace.c
arch/x86/kernel/ptrace.c
include/trace/events/syscalls.h [new file with mode: 0644]
include/trace/syscall.h
kernel/trace/trace_syscalls.c