diff options
author | Yabin Cui <yabinc@google.com> | 2019-08-02 17:12:28 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2019-08-08 13:23:27 -0700 |
commit | e6fa762c513773295caa3d04a5c7005e7bc0cb97 (patch) | |
tree | 932b53931b838f960e8a76c2a34a7f7bc4193498 /simpleperf/event_selection_set.h | |
parent | 0ac62db142ad1cd1cc745eac9f9f660c24b9523a (diff) | |
download | extras-e6fa762c513773295caa3d04a5c7005e7bc0cb97.tar.gz |
simpleperf: add --aux-buffer-size in record cmd.
Bug: 135204414
Test: run simpleperf_unit_test.
Change-Id: I6baee8a2b178a374e446e0da4792eb9287bba6b1
Diffstat (limited to 'simpleperf/event_selection_set.h')
-rw-r--r-- | simpleperf/event_selection_set.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simpleperf/event_selection_set.h b/simpleperf/event_selection_set.h index f9f38ad2..426af2f2 100644 --- a/simpleperf/event_selection_set.h +++ b/simpleperf/event_selection_set.h @@ -132,8 +132,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 allow_cutting_samples); + bool MmapEventFiles(size_t min_mmap_pages, size_t max_mmap_pages, size_t aux_buffer_size, + size_t record_buffer_size, bool allow_cutting_samples); bool PrepareToReadMmapEventData(const std::function<bool(Record*)>& callback); bool SyncKernelBuffer(); bool FinishReadMmapEventData(); |