diff options
author | Yabin Cui <yabinc@google.com> | 2019-06-04 11:30:40 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2019-06-04 14:12:53 -0700 |
commit | 764cbf049cbda5a9d871d3464160ff67c3566b9a (patch) | |
tree | 4acdcc01b1a5dc628f8f2d21035718d461937b7b /simpleperf/event_selection_set.h | |
parent | 850940054f835a88537eccf69a887fb3a0d2aa6d (diff) | |
download | extras-764cbf049cbda5a9d871d3464160ff67c3566b9a.tar.gz |
simpleperf: add --no-cut-samples in record cmd.
Bug: 134300436
Test: run simpleperf_unit_test.
Test: run simpleperf manually.
Change-Id: I6b8b5ea22002240be61998d8829c182fe1137a30
Diffstat (limited to 'simpleperf/event_selection_set.h')
-rw-r--r-- | simpleperf/event_selection_set.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/simpleperf/event_selection_set.h b/simpleperf/event_selection_set.h index d92fed50..08b7665f 100644 --- a/simpleperf/event_selection_set.h +++ b/simpleperf/event_selection_set.h @@ -134,7 +134,8 @@ class EventSelectionSet { bool OpenEventFiles(const std::vector<int>& on_cpus); bool ReadCounters(std::vector<CountersInfo>* counters); - bool MmapEventFiles(size_t min_mmap_pages, size_t max_mmap_pages, size_t record_buffer_size); + bool MmapEventFiles(size_t min_mmap_pages, size_t max_mmap_pages, size_t record_buffer_size, + bool allow_cutting_samples); bool PrepareToReadMmapEventData(const std::function<bool(Record*)>& callback); bool SyncKernelBuffer(); bool FinishReadMmapEventData(); |