commit | 8cd9233b017d3fd0389c2650fcbbae74ef8ced12 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Mar 21 14:34:29 2018 -0700 |
committer | Yabin Cui <yabinc@google.com> | Wed Mar 21 14:44:09 2018 -0700 |
tree | beb2bcd49628a4015b45af037193fdd6b8065202 | |
parent | 7d2ecc6c0b1c6ecb4c46cc2f981e43461958a6bc [diff] |
simpleperf: add SIMPLE_PERF_RECORD_TRACE_DATA record type. PERF_RECORD_TRACE_DATA can't have record size >= 64K. This causes some aborts when recording tracepoint events, as in https://github.com/android-ndk/ndk/issues/493. So fix this by adding a custom type SIMPLE_PERF_RECORD_TRACING_DATA, which isn't limited by 64K. Also fix an error parsing formats of tracepoing events. Bug: http://b/75278602 Test: run simpleperf_unit_test. Change-Id: Ib5ebd0b6f981b00c2a256d17cdfd0e725d75a272