aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorJin Yao <[email protected]>2017-03-25 20:34:26 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-03-27 15:00:38 +0000
commita64489c56c307bf0955f0489158c5ecf6aa10fe2 (patch)
treec509e096dd947ec390f3ec30d82f925e2e04763c /tools/perf/util/annotate.c
parentperf report: Refactor common code in srcline.c (diff)
downloadkernel-a64489c56c307bf0955f0489158c5ecf6aa10fe2.tar.gz
kernel-a64489c56c307bf0955f0489158c5ecf6aa10fe2.zip
perf report: Find the inline stack for a given address
It would be useful for perf to support a mode to query the inline stack for a given callgraph address. This would simplify finding the right code in code that does a lot of inlining. The srcline.c has contained the code which supports to translate the address to filename:line_nr. This patch just extends the function to let it support getting the inline stacks. It introduces the inline_list which will store the inline function result (filename:line_nr and funcname). If BFD lib is not supported, the result is only filename:line_nr. Signed-off-by: Yao Jin <[email protected]> Tested-by: Milian Wolff <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions