summaryrefslogtreecommitdiff
path: root/simpleperf/event_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/event_type.h')
-rw-r--r--simpleperf/event_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/event_type.h b/simpleperf/event_type.h
index 1dd7f39f..727f75ff 100644
--- a/simpleperf/event_type.h
+++ b/simpleperf/event_type.h
@@ -68,7 +68,7 @@ class ScopedEventTypes {
};
const std::vector<EventType>& GetAllEventTypes();
-const EventType* FindEventTypeByName(const std::string& name);
+const EventType* FindEventTypeByName(const std::string& name, bool report_error = true);
struct EventTypeAndModifier {
std::string name;