History log of /system/extras/simpleperf/record_file_writer.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ed5aacf696bbf8c6a87ce3c07f33c1b3ce33bd4 02-Feb-2016 Yabin Cui <yabinc@google.com> simpleperf: use RemoveFileIfExists in libbase.

Change-Id: Ife16103a5ec86cc6ee2aee4838d1a56a91f54516
/system/extras/simpleperf/record_file_writer.cpp
66dd09e8e2407082ce93bf0784de641298131912 04-Dec-2015 Elliott Hughes <enh@google.com> Track rename from base/ to android-base/.

Change-Id: Ic15d4778c7accd1382de0b440a437aba2cf67016
/system/extras/simpleperf/record_file_writer.cpp
b7f481f59126456b0e708a76f40fa88224f3531b 24-Oct-2015 Yabin Cui <yabinc@google.com> Simpleperf: Don't load whole perf.data into memory.

perf.data can be too large to be loaded into memory.
To avoid this, use fread() instead of mmap() to read perf.data,
and always use RecordCache to sort records.

Fix unit tests failure caused by previous change.

Bug: 25194400

Change-Id: If29dc0bb0ed992ba34202c2cb1a204a1d9123b7a
/system/extras/simpleperf/record_file_writer.cpp
cb84c9885e7a9f82cefba566d74e5c71214ab4c9 01-Oct-2015 Yabin Cui <yabinc@google.com> 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
/system/extras/simpleperf/record_file_writer.cpp
afdb9cea28340e31142fd66a90c88ed8e18ebbfa 20-Aug-2015 Yabin Cui <yabinc@google.com> Simpleperf: support multiple event types in record command.

Change-Id: I0aa0e8c9491370b5e4fafdaf8cdc5613c26c78f5
/system/extras/simpleperf/record_file_writer.cpp
73d8078e6e5ef92b2301386ce96260bd99efacbb 24-Jul-2015 Yabin Cui <yabinc@google.com> Simpleperf: use ThreadTree when getting hit files in record command.

The new method is more accurate and has lower time complexity.

Bug: 22229391
Change-Id: I8b3016798b8a0e20335adeb7ec5dda0068044142
/system/extras/simpleperf/record_file_writer.cpp
76769e502d8f0ebf5d2c81b00246727fb0a59925 13-Jul-2015 Yabin Cui <yabinc@google.com> Simpleperf: Support dwarf callgraph recording.

1. add OS_RELEASE and ARCH feature in perf.data. ARCH feature is used when parsing
recorded user registers.
2. support `--call-graph dwarf` option in record command.

Bug: 22229391
Change-Id: I56dbdd101338658ce6a9b59aa8be90e712e007f5
/system/extras/simpleperf/record_file_writer.cpp
9fd3cc1048a3d0338df4a48760dfd655560992a1 26-Jun-2015 Yabin Cui <yabinc@google.com> Simpleperf: support build on mac.

Bug: 19483574
Change-Id: I6c28541944bc0a4e6fc07d7ea5a8fb5f71890510
/system/extras/simpleperf/record_file_writer.cpp