lkml.org 
[lkml]   [2015]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH v4 0/2] arm & arm64: perf: Fix callchain parse error with kernel tracepoint events
    Date
    For arm & arm64, when tracing with tracepoint events, the IP and cpsr 
    are set to 0, preventing the perf code parsing the callchain and
    resolving the symbols correctly.

    These two patches fix this by implementing perf_arch_fetch_caller_regs
    for arm and arm64, which fills several necessary register info for
    callchain unwinding and symbol resolving.

    v3->v4:
    - fix compile errors

    v2->v3:
    - split the original patch into two, one for arm and the other arm64;
    - change '|=' to '=' when setting cpsr.

    Hou Pengyang (2):
    arm: perf: Fix callchain parse error with kernel tracepoint events
    arm64: perf: Fix callchain parse error with kernel tracepoint events

    arch/arm/include/asm/perf_event.h | 7 +++++++
    arch/arm64/include/asm/perf_event.h | 7 +++++++
    2 files changed, 14 insertions(+)

    --
    1.8.3.4



    \
     
     \ /
      Last update: 2015-05-08 08:21    [W:2.246 / U:0.156 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site