diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/event.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index d26dc887ce52..fa7c50b654e1 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -4,6 +4,9 @@ | |||
4 | #include "util.h" | 4 | #include "util.h" |
5 | #include <linux/list.h> | 5 | #include <linux/list.h> |
6 | 6 | ||
7 | /* | ||
8 | * PERF_SAMPLE_IP | PERF_SAMPLE_TID | * | ||
9 | */ | ||
7 | struct ip_event { | 10 | struct ip_event { |
8 | struct perf_event_header header; | 11 | struct perf_event_header header; |
9 | u64 ip; | 12 | u64 ip; |
@@ -38,6 +41,9 @@ struct lost_event { | |||
38 | u64 lost; | 41 | u64 lost; |
39 | }; | 42 | }; |
40 | 43 | ||
44 | /* | ||
45 | * PERF_FORMAT_ENABLED | PERF_FORMAT_RUNNING | PERF_FORMAT_ID | ||
46 | */ | ||
41 | struct read_event { | 47 | struct read_event { |
42 | struct perf_event_header header; | 48 | struct perf_event_header header; |
43 | u32 pid,tid; | 49 | u32 pid,tid; |