diff options
author | Yabin Cui <yabinc@google.com> | 2015-04-28 15:54:13 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2015-05-04 14:32:32 -0700 |
commit | 9759e1b1ce76185aa539aeea2fb1cbd8382156e7 (patch) | |
tree | 69196161e28ebe74fb27093e026983fd98b004da /simpleperf/event_type.h | |
parent | 249518de7cb7ddb1c066b3bb8b10bc0f66222f7d (diff) | |
download | extras-9759e1b1ce76185aa539aeea2fb1cbd8382156e7.tar.gz |
Implement simpleperf record/dumprecord subcommands.
Bug: 19483574
Change-Id: Id879713a75c2d3a6289d8847b95ee0bb4a2cc8a0
Diffstat (limited to 'simpleperf/event_type.h')
-rw-r--r-- | simpleperf/event_type.h | 3 |
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); }; |