aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMathieu Poirier <[email protected]>2019-02-12 17:16:08 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-02-14 18:18:06 +0000
commitd3267ad43dd8b3778f9b3deb9a3946c844bdc9dc (patch)
treeba5a24e586a02ada23cae337a8dbd18a29ff6a4d /tools/perf/scripts/python/event_analyzing_sample.py
parentperf cs-etm: Remove unused structure field "time" and "timestamp" (diff)
downloadkernel-d3267ad43dd8b3778f9b3deb9a3946c844bdc9dc.tar.gz
kernel-d3267ad43dd8b3778f9b3deb9a3946c844bdc9dc.zip
perf cs-etm: Fix wrong return values in error path
Function cs_etm__mem_access() is supposed to return a u32 but the error path returns negative values at a couple of places, something that really throws off the clients using it. Fix the situation by return '0'. Signed-off-by: Mathieu Poirier <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Suzuki K Poulouse <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions