aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorJin Yao <[email protected]>2017-03-25 20:34:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-03-27 15:12:59 +0000
commit0d3eb0b7783f1ee6d3314f101b9cbfb988020222 (patch)
treea3382614edeff8fbb6272d4698aa1d1c7c446ea3 /tools/perf/util/annotate.c
parentperf report: Show inline stack for stdio mode (diff)
downloadkernel-0d3eb0b7783f1ee6d3314f101b9cbfb988020222.tar.gz
kernel-0d3eb0b7783f1ee6d3314f101b9cbfb988020222.zip
perf report: Show inline stack for browser mode
If the address belongs to an inlined function, the source information back to the first non-inlined function will be printed. For example: 1. Show inlined function name perf report -g function --inline - 0.69% 0.00% inline ld-2.23.so [.] dl_main - dl_main 0.56% _dl_relocate_object _dl_relocate_object (inline) elf_dynamic_do_Rela (inline) 2. Show the file/line information perf report -g address --inline - 0.69% 0.00% inline ld-2.23.so [.] _dl_start _dl_start rtld.c:307 /build/glibc-GKVZIf/glibc-2.23/elf/rtld.c:413 (inline) + _dl_sysdep_start dl-sysdep.c:250 Signed-off-by: Yao Jin <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[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