event.h (8dc58101f2c838355d44402aa77646649d10dbec) | event.h (2c46dbb517a10b18d459e6ceffefde5bfb290cf6) |
---|---|
1#ifndef __PERF_RECORD_H 2#define __PERF_RECORD_H 3 4#include <limits.h> 5 6#include "../perf.h" 7#include "map.h" 8 --- 70 unchanged lines hidden (view full) --- 79 80struct build_id_event { 81 struct perf_event_header header; 82 u8 build_id[ALIGN(BUILD_ID_SIZE, sizeof(u64))]; 83 char filename[]; 84}; 85 86enum perf_header_event_type { /* above any possible kernel type */ | 1#ifndef __PERF_RECORD_H 2#define __PERF_RECORD_H 3 4#include <limits.h> 5 6#include "../perf.h" 7#include "map.h" 8 --- 70 unchanged lines hidden (view full) --- 79 80struct build_id_event { 81 struct perf_event_header header; 82 u8 build_id[ALIGN(BUILD_ID_SIZE, sizeof(u64))]; 83 char filename[]; 84}; 85 86enum perf_header_event_type { /* above any possible kernel type */ |
87 PERF_RECORD_HEADER_MAX = 64, | 87 PERF_RECORD_HEADER_ATTR = 64, 88 PERF_RECORD_HEADER_MAX |
88}; 89 | 89}; 90 |
91struct attr_event { 92 struct perf_event_header header; 93 struct perf_event_attr attr; 94 u64 id[]; 95}; 96 |
|
90typedef union event_union { 91 struct perf_event_header header; 92 struct ip_event ip; 93 struct mmap_event mmap; 94 struct comm_event comm; 95 struct fork_event fork; 96 struct lost_event lost; 97 struct read_event read; 98 struct sample_event sample; | 97typedef union event_union { 98 struct perf_event_header header; 99 struct ip_event ip; 100 struct mmap_event mmap; 101 struct comm_event comm; 102 struct fork_event fork; 103 struct lost_event lost; 104 struct read_event read; 105 struct sample_event sample; |
106 struct attr_event attr; |
|
99} event_t; 100 101struct events_stats { 102 u64 total; 103 u64 lost; 104}; 105 106struct event_stat_id { --- 35 unchanged lines hidden --- | 107} event_t; 108 109struct events_stats { 110 u64 total; 111 u64 lost; 112}; 113 114struct event_stat_id { --- 35 unchanged lines hidden --- |