summaryrefslogtreecommitdiff
path: root/simpleperf/event_selection_set.h
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2020-02-05 17:29:12 -0800
committerYabin Cui <yabinc@google.com>2020-02-05 17:29:12 -0800
commit2a9cad30e644086bb44bce5d19cbf09c8b455263 (patch)
tree2319c55111462bd084fd8b39196497ee6ceb6d2d /simpleperf/event_selection_set.h
parentf2f1bf377dad884f3c61917920d80fb6f63b151a (diff)
downloadextras-2a9cad30e644086bb44bce5d19cbf09c8b455263.tar.gz
simpleperf: add --exclude-perf option in record cmd.
Bug: 148970587 Test: run simpleperf_unit_test. Change-Id: Ie6d869124f645c589eef06c6543aa0276836415c
Diffstat (limited to 'simpleperf/event_selection_set.h')
-rw-r--r--simpleperf/event_selection_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/event_selection_set.h b/simpleperf/event_selection_set.h
index 3afc76dc..2af14711 100644
--- a/simpleperf/event_selection_set.h
+++ b/simpleperf/event_selection_set.h
@@ -143,7 +143,7 @@ class EventSelectionSet {
bool OpenEventFiles(const std::vector<int>& cpus);
bool ReadCounters(std::vector<CountersInfo>* counters);
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);
+ size_t record_buffer_size, bool allow_cutting_samples, bool exclude_perf);
bool PrepareToReadMmapEventData(const std::function<bool(Record*)>& callback);
bool SyncKernelBuffer();
bool FinishReadMmapEventData();