OSDN Git Service

Implement simpleperf record/dumprecord subcommands.
[android-x86/system-extras.git] / simpleperf / event_type.h
index e2f21d5..b486a29 100644 (file)
@@ -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);
 };