diff options
| author | Jin Yao <[email protected]> | 2019-10-11 02:21:22 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-15 11:36:22 +0000 |
| commit | 800d3f561659b5436f8c57e7c26dd1f6928b5615 (patch) | |
| tree | cd0039efa568d361fd778fbe186105a5078f3b24 /tools/perf/util/annotate.c | |
| parent | perf test: Avoid infinite loop for task exit case (diff) | |
| download | kernel-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
