OSDN Git Service

Simpleperf: do dwarf unwinding in record command.
authorYabin Cui <yabinc@google.com>
Thu, 1 Oct 2015 00:22:35 +0000 (17:22 -0700)
committerYabin Cui <yabinc@google.com>
Fri, 2 Oct 2015 17:47:45 +0000 (10:47 -0700)
commitcb84c9885e7a9f82cefba566d74e5c71214ab4c9
tree43712f280da1b9137a2726bdf3b756c153bb90d7
parenteac5440e1fcff3ba0b5ed0779f962e9405918e06
Simpleperf: do dwarf unwinding in record command.

As libbacktrace only supports unwinding for the same architecture it is running on, simpleperf
report command running on host can't unwind perf.data collected on device. So we'd better do
unwinding work in record command on device.

Bug: 22229391
Change-Id: I085ca074ea83dab79f08563523bdbc7a36650a64
simpleperf/cmd_record.cpp
simpleperf/cmd_record_test.cpp
simpleperf/record.cpp
simpleperf/record.h
simpleperf/record_file.h
simpleperf/record_file_writer.cpp