lkml.org 
[lkml]   [2021]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 0/6] perf arm-spe: Enable timestamp
    On Thu, Apr 15, 2021 at 05:43:24PM +0300, James Clark wrote:
    > Hi Leo,
    >
    > I was looking at testing this on N1SDP and I thought I would try the round trip with perf inject and
    > then perf report but saw that perf inject with SPE always results in an error (unrelated to your change)
    >
    > -> ./perf report -i per-thread-spe-time.inject.data
    > 0x1328 [0x8]: failed to process type: 9 [Bad address]
    > Error:
    > failed to process sample
    >
    >
    > Do you have any test suggestions other than looking at the raw data?

    Good catching! I didn't use inject mode for Arm SPE before (it's not
    not like Arm CoreSight for instruction sample, or SPE's branch sample
    is statistical so we cannot generate branch samples based on accurate
    interval).

    For the debugging, it's good to use "git grep" to search "Bad address"
    to check where the error happens, and can use gdb. I personally think
    it's possible to go back to check the sythenization flow, simply to
    say, it might have problems when inject samples but not in the
    decoding flow.

    Thanks,
    Leo

    \
     
     \ /
      Last update: 2021-04-15 17:09    [W:3.982 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site