]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit6a868396c4f589de69ad7fb07fad69ea0aaed28d
tree2f5a2de49bbbdba1b75502a554caecf025ed35a8
parent81ca2b1282a7766c6dae9b1af2df673adf7b3d12
[S390] ftrace: update system call tracer support

Commit 4748e4f4b ("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-4748e4f4b2830147111e43026e8d4db879dcfa95@git.kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/s390/kernel/ptrace.c