diff options
author | Jiri Olsa <[email protected]> | 2019-07-15 16:04:26 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-07-23 08:59:49 -0300 |
commit | 79b2fe5e756163897175a8f57d66b26cd9befd59 (patch) | |
tree | a6a246656604e4d724cedc7d69d81fbfbe71084f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dde4e732a5b02fa5599c2c0e6c48a0c11789afc4 (diff) |
perf tools: Fix proper buffer size for feature processing
After Song Liu's segfault fix for pipe mode, Arnaldo reported following
error:
# perf record -o - | perf script
0x514 [0x1ac]: failed to process type: 80
It's caused by wrong buffer size setup in feature processing, which
makes cpu topology feature fail, because it's using buffer size to
recognize its header version.
Reported-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Carrillo-Cisneros <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Fixes: e9def1b2e74e ("perf tools: Add feature header record to pipe-mode")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions