summaryrefslogtreecommitdiff
path: root/simpleperf/event_type.h
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-07-31 18:40:09 -0700
committerYabin Cui <yabinc@google.com>2015-07-31 18:43:05 -0700
commit5872ac6f1f5b804ffea38ff59025441618802d6b (patch)
tree1ddb8c2c99b10c0847239e194918b96deeed6ad7 /simpleperf/event_type.h
parent9c6eab9a5bb7c979488dcfe7ea71a039e6a369fb (diff)
downloadextras-5872ac6f1f5b804ffea38ff59025441618802d6b.tar.gz
Simpleperf: correct the event type name printed in stat command.
Bug: 22884977 Change-Id: I3c4f5c8dc02d5b17f5942e4e98476d1c4f3fbcad
Diffstat (limited to 'simpleperf/event_type.h')
-rw-r--r--simpleperf/event_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/simpleperf/event_type.h b/simpleperf/event_type.h
index df2f782d..7273e523 100644
--- a/simpleperf/event_type.h
+++ b/simpleperf/event_type.h
@@ -45,6 +45,7 @@ const EventType* FindEventTypeByConfig(uint32_t type, uint64_t config);
const EventType* FindEventTypeByName(const std::string& name);
struct EventTypeAndModifier {
+ std::string name;
EventType event_type;
bool exclude_user;
bool exclude_kernel;