aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2017-06-08 16:31:08 +0900
committerArnaldo Carvalho de Melo <[email protected]>2017-06-08 15:39:26 -0300
commitc25ec42f846f702f8f532fbc890171e3a1f6ec85 (patch)
treeaa5ee22b3fc0ca2ea79a793cbe5409abf16ef7d0 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent94df1040b1e6aacd8dec0ba3c61d7e77cd695f26 (diff)
perf symbols: Keep DSO->symtab_type after decompress
The symsrc__init() overwrites dso->symtab_type as symsrc->type in dso__load_sym(). But for compressed kernel modules in the build-id cache, it should have original symtab type to be decompressed as needed. This fixes perf annotate to show disassembly of the function properly. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Wang Nan <[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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions