diff options
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 30fec99..c67ecc4 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h @@ -61,12 +61,6 @@ struct read_event { u64 id; }; -struct throttle_event { - struct perf_event_header header; - u64 time; - u64 id; - u64 stream_id; -}; #define PERF_SAMPLE_MASK \ (PERF_SAMPLE_IP | PERF_SAMPLE_TID | \ @@ -75,9 +69,6 @@ struct throttle_event { PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD | \ PERF_SAMPLE_IDENTIFIER) -/* perf sample has 16 bits size limit */ -#define PERF_SAMPLE_MAX_SIZE (1 << 16) - struct sample_event { struct perf_event_header header; u64 array[]; @@ -120,7 +111,6 @@ struct perf_sample { u64 stream_id; u64 period; u64 weight; - u64 transaction; u32 cpu; u32 raw_size; u64 data_src; @@ -187,7 +177,6 @@ union perf_event { struct fork_event fork; struct lost_event lost; struct read_event read; - struct throttle_event throttle; struct sample_event sample; struct attr_event attr; struct event_type_event event_type; @@ -208,10 +197,10 @@ typedef int (*perf_event__handler_t)(struct perf_tool *tool, int perf_event__synthesize_thread_map(struct perf_tool *tool, struct thread_map *threads, perf_event__handler_t process, - struct machine *machine, bool mmap_data); + struct machine *machine); int perf_event__synthesize_threads(struct perf_tool *tool, perf_event__handler_t process, - struct machine *machine, bool mmap_data); + struct machine *machine); int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struct machine *machine, @@ -251,8 +240,7 @@ int perf_event__process(struct perf_tool *tool, struct machine *machine); struct addr_location; - -int perf_event__preprocess_sample(const union perf_event *event, +int perf_event__preprocess_sample(const union perf_event *self, struct machine *machine, struct addr_location *al, struct perf_sample *sample); |