[S390] ftrace: update system call tracer support
authorIngo Molnar <mingo@elte.hu>
Tue, 18 Aug 2009 08:41:57 +0000 (10:41 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 Aug 2009 12:16:15 +0000 (14:16 +0200)
commit5e9ad7df9fd056f1071af8aa91034a1c3170257d
tree2f5a2de49bbbdba1b75502a554caecf025ed35a8
parent3be04b471b95b870bd129a138463756629e86f3f
[S390] ftrace: update system call tracer support

Commit fb34a08c3 ("tracing: Add trace events for each syscall
entry/exit") changed the lowlevel API to ftrace syscall tracing
but did not update s390 which started making use of it recently.

This broke the s390 build, as reported by Paul Mundt.

Update the callbacks with the syscall number and the syscall
return code values. This allows per syscall tracepoints,
syscall argument enumeration /debug/tracing/events/syscalls/
and perfcounters support and integration on s390 too.

Reported-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <tip-fb34a08c3469b2be9eae626ccb96476b4687b810@git.kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/s390/kernel/ptrace.c