diff options
Diffstat (limited to 'tools')
-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 d26dc887ce5..fa7c50b654e 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h @@ -4,6 +4,9 @@ #include "util.h" #include <linux/list.h> +/* + * PERF_SAMPLE_IP | PERF_SAMPLE_TID | * + */ struct ip_event { struct perf_event_header header; u64 ip; @@ -38,6 +41,9 @@ struct lost_event { u64 lost; }; +/* + * PERF_FORMAT_ENABLED | PERF_FORMAT_RUNNING | PERF_FORMAT_ID + */ struct read_event { struct perf_event_header header; u32 pid,tid; |