commit | 1172d7ea44cb0cc1d3327a7642f7ab770d43e2f0 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Jul 25 15:12:58 2019 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Jul 29 12:21:31 2019 -0700 |
tree | d07dc0e2e74bc72617539e51fc4931f3db7e1db8 | |
parent | 14c83fced1518a44f917c71023278acbc053af9f [diff] |
simpleperf: support recording etm data in perf.data. 1. In event_fd.cpp, add functions to create aux buffer and read etm data. 2. In record.h, Add AuxTraceRecord. 2. In RecordReadThread.cpp, wrap etm data into AuxTraceRecords. 3. Add logic to read and write AuxTraceRecords in perf.data. 4. Show recorded etm data size after recording. Bug: 135204414 Test: run simpleperf_unit_test. Change-Id: I3b20fe8f3c786f130f38e34962ca9f86a31fc584