diff options
author | Yabin Cui <yabinc@google.com> | 2015-09-30 17:22:35 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2015-10-02 10:47:45 -0700 |
commit | cb84c9885e7a9f82cefba566d74e5c71214ab4c9 (patch) | |
tree | 43712f280da1b9137a2726bdf3b756c153bb90d7 /simpleperf/record_file.h | |
parent | eac5440e1fcff3ba0b5ed0779f962e9405918e06 (diff) | |
download | extras-cb84c9885e7a9f82cefba566d74e5c71214ab4c9.tar.gz |
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
Diffstat (limited to 'simpleperf/record_file.h')
-rw-r--r-- | simpleperf/record_file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/simpleperf/record_file.h b/simpleperf/record_file.h index 4cc17574..946c791f 100644 --- a/simpleperf/record_file.h +++ b/simpleperf/record_file.h @@ -50,6 +50,7 @@ class RecordFileWriter { // Read data section that has been written, for further processing. bool ReadDataSection(std::vector<std::unique_ptr<Record>>* records); + bool WriteDataSection(const std::vector<std::unique_ptr<Record>>& records); bool WriteFeatureHeader(size_t feature_count); bool WriteBuildIdFeature(const std::vector<BuildIdRecord>& build_id_records); |