summaryrefslogtreecommitdiff
path: root/simpleperf/event_selection_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/event_selection_set.cpp')
-rw-r--r--simpleperf/event_selection_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/event_selection_set.cpp b/simpleperf/event_selection_set.cpp
index de04d3d1..59607cb2 100644
--- a/simpleperf/event_selection_set.cpp
+++ b/simpleperf/event_selection_set.cpp
@@ -57,7 +57,7 @@ bool IsDwarfCallChainSamplingSupported() {
}
bool IsDumpingRegsForTracepointEventsSupported() {
- const EventType* event_type = FindEventTypeByName("sched:sched_switch");
+ const EventType* event_type = FindEventTypeByName("sched:sched_switch", false);
if (event_type == nullptr) {
return false;
}