diff options
author | Jin Yao <[email protected]> | 2019-10-11 10:21:22 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-15 08:36:22 -0300 |
commit | 800d3f561659b5436f8c57e7c26dd1f6928b5615 (patch) | |
tree | cd0039efa568d361fd778fbe186105a5078f3b24 /scripts/gdb/linux/device.py | |
parent | 791ce9c48c79210d2ffcdbe69421e7783b32921f (diff) |
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 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions