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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/simpleperf/event_type.h b/simpleperf/event_type.h
index e2f21d5d..b486a294 100644
--- a/simpleperf/event_type.h
+++ b/simpleperf/event_type.h
@@ -37,7 +37,8 @@ struct EventType {
class EventTypeFactory {
public:
static const std::vector<const EventType>& GetAllEventTypes();
- static const EventType* FindEventTypeByName(const std::string& name);
+ static const EventType* FindEventTypeByName(const std::string& name,
+ bool report_unsupported_type = true);
static const EventType* FindEventTypeByConfig(uint32_t type, uint64_t config);
};