diff options
author | David Ahern <[email protected]> | 2015-04-09 16:15:46 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-04-10 10:13:58 -0300 |
commit | 1060ab857f64f33a9445881fd31fa91470aeb622 (patch) | |
tree | b92fb150dade3a0dcd8f13f309dc8a972ae985ca /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d998b732599b304c3865e8e5c7ba6250faba6589 (diff) |
perf tools: Fix cross-endian analysis
Trying to analyze a big endian data file on little endian system fails
with the error:
0xa9b40 [0x70]: failed to process type: 9
The problem is that header parsing is not done correctly because the
file attributes are not swapped. Make it so. With this patch able to
analyze a sparc64 data file on x86_64.
Signed-off-by: David Ahern <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions