diff options
author | Wei Li <[email protected]> | 2020-07-24 15:26:28 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-08-21 10:22:23 -0300 |
commit | 19684e969debc912b3ec5eda72b4f90aa73f1d30 (patch) | |
tree | 58e7231ae46fe397035daf217232f8bce4c05935 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 783abbd444926f0d94039c4cf5e5ca1d07496bce (diff) |
perf: arm-spe: Fix check error when synthesizing events
In arm_spe_read_record(), when we are processing an events packet,
'decoder->packet.index' is the length of payload, which has been
transformed in payloadlen(). So correct the check of 'idx'.
Signed-off-by: Wei Li <[email protected]>
Reviewed-by: Leo Yan <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Hanjun Guo <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Poirier <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions