• Peter Zijlstra's avatar
    perf, trace: Fix !x86 build bug · 87f44bbc
    Peter Zijlstra authored
    Patch b7e2ecef
     (perf, trace: Optimize tracepoints by removing
    IRQ-disable from perf/tracepoint interaction) made the
    unfortunate mistake of assuming the world is x86 only, correct
    The problem was that perf_fetch_caller_regs() did
    local_save_flags() into regs->flags, and I re-used that to
    remove another local_save_flags(), forgetting !x86 doesn't have
    Do the reverse, remove the local_save_flags() from
    perf_fetch_caller_regs() and let the ftrace site do the
    local_save_flags() instead.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Acked-by: default avatarPaul Mackerras <paulus@samba.org>
    Cc: acme@redhat.com
    Cc: efault@gmx.de
    Cc: fweisbec@gmail.com
    Cc: rostedt@goodmis.org
    LKML-Reference: <1274778175.5882.623.camel@twins>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
trace_event_perf.c 3.87 KB