OSDN Git Service

simpleperf: enforce support of dwarf based callgraph.
authorYabin Cui <yabinc@google.com>
Wed, 12 Jul 2017 21:50:07 +0000 (14:50 -0700)
committerYabin Cui <yabinc@google.com>
Wed, 12 Jul 2017 22:52:57 +0000 (15:52 -0700)
commitd18c42e6732c7d920373f326e49b4860259afa7f
tree491f2d30ba9d3eb44ab057eff0dcc57e069827a4
parent3cd4b5a765e824f0eb2441a51cd97d4a90f17127
simpleperf: enforce support of dwarf based callgraph.

If it is not supported by the kernel, it may be because
a kernel patch "perf: Fix arch_perf_out_copy_user default",
or a configuration HAVE_PERF_USER_STACK_DUMP is missing.

Bug: http://b/63634097
Test: run simpleperf_unit_tests.
Change-Id: I4d3b2de72925c3566bcb0ebe41872919b7312687
simpleperf/cmd_record_test.cpp
simpleperf/cmd_report_test.cpp