aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAl Grant <[email protected]>2020-11-24 19:58:17 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-01-15 17:28:28 -0300
commit648b054a4647cd62e13ba79f398b8b97a7c82b19 (patch)
tree72e4a903f1c7a6d6231c9d0516b8bab217926e09 /tools/perf/scripts/python/exported-sql-viewer.py
parent5501e9229a80d95a1ea68609f44c447a75d23ed5 (diff)
perf inject: Correct event attribute sizes
When 'perf inject' reads a perf.data file from an older version of perf, it writes event attributes into the output with the original size field, but lays them out as if they had the size currently used. Readers see a corrupt file. Update the size field to match the layout. Signed-off-by: Al Grant <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Denis Nikitin <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions