• Leo Yan's avatar
    perf script python: Add addr into perf sample dict · 943f32a0
    Leo Yan authored
    ARM CoreSight auxtrace uses 'sample->addr' to record the target address
    for branch instructions, so the data of 'sample->addr' is required for
    tracing data analysis.
    
    This commit collects data of 'sample->addr' into perf sample dict,
    finally can be used for python script for parsing event.
    Signed-off-by: default avatarLeo Yan <leo.yan@linaro.org>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
    Cc: Mike Leach <mike.leach@linaro.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Robert Walker <robert.walker@arm.com>
    Cc: Tor Jeremiassen <tor@ti.com>
    Cc: coresight@lists.linaro.org
    Cc: kim.phillips@arm.co
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-doc@vger.kernel.org
    Link: http://lkml.kernel.org/r/1527497103-3593-3-git-send-email-leo.yan@linaro.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    943f32a0
trace-event-python.c 39.6 KB