summaryrefslogtreecommitdiff
path: root/simpleperf/event_selection_set.h
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2016-06-01 17:29:06 -0700
committerYabin Cui <yabinc@google.com>2016-06-03 15:24:03 -0700
commit4f41df6f68efc3b9b534014a8cfb6ee8ac4d5c91 (patch)
tree9cd04ed0e963ba2ce911087cf414df6cce35daf6 /simpleperf/event_selection_set.h
parent471ec606874a7224e304482f5fa9cc7d207d26b8 (diff)
downloadextras-4f41df6f68efc3b9b534014a8cfb6ee8ac4d5c91.tar.gz
simpleperf: dump tracing data when needed.
When monitoring tracepoint events, dump tracing data to perf.data can enable reporting on a different machine. Bug: 27403614 Change-Id: Ie1af624717a245cacbeb44b4c1bcd499fc9ad8db
Diffstat (limited to 'simpleperf/event_selection_set.h')
-rw-r--r--simpleperf/event_selection_set.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/simpleperf/event_selection_set.h b/simpleperf/event_selection_set.h
index d2e2511a..3cfdb46b 100644
--- a/simpleperf/event_selection_set.h
+++ b/simpleperf/event_selection_set.h
@@ -64,8 +64,8 @@ class EventSelectionSet {
void SetEnableOnExec(bool enable);
bool GetEnableOnExec();
void SampleIdAll();
- void SetSampleFreq(uint64_t sample_freq);
- void SetSamplePeriod(uint64_t sample_period);
+ void SetSampleFreq(const EventTypeAndModifier& event_type_modifier, uint64_t sample_freq);
+ void SetSamplePeriod(const EventTypeAndModifier& event_type_modifier, uint64_t sample_period);
bool SetBranchSampling(uint64_t branch_sample_type);
void EnableFpCallChainSampling();
bool EnableDwarfCallChainSampling(uint32_t dump_stack_size);