• I
    [S390] ftrace: update system call tracer support · 5e9ad7df
    Ingo Molnar 提交于
    Commit fb34a08c ("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: NPaul Mundt <lethal@linux-sh.org>
    Acked-by: NMartin 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-fb34a08c@git.kernel.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    5e9ad7df
ptrace.c 24.6 KB