aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorJin Yao <[email protected]>2019-10-11 02:21:22 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-10-15 11:36:22 +0000
commit800d3f561659b5436f8c57e7c26dd1f6928b5615 (patch)
treecd0039efa568d361fd778fbe186105a5078f3b24 /tools/perf/util/annotate.c
parentperf test: Avoid infinite loop for task exit case (diff)
downloadkernel-800d3f561659b5436f8c57e7c26dd1f6928b5615.tar.gz
kernel-800d3f561659b5436f8c57e7c26dd1f6928b5615.zip
perf report: Add warning when libunwind not compiled in
We received a user report that call-graph DWARF mode was enabled in 'perf record' but 'perf report' didn't unwind the callstack correctly. The reason was, libunwind was not compiled in. We can use 'perf -vv' to check the compiled libraries but it would be valuable to report a warning to user directly (especially valuable for a perf newbie). The warning is: Warning: Please install libunwind development packages during the perf build. Both TUI and stdio are supported. Signed-off-by: Jin Yao <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[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