5 #include <linux/list.h>
14 * PERF_SAMPLE_IP | PERF_SAMPLE_TID | *
17 struct perf_event_header header;
20 unsigned char __more_data[];
24 struct perf_event_header header;
29 char filename[PATH_MAX];
33 struct perf_event_header header;
39 struct perf_event_header header;
45 struct perf_event_header header;
51 * PERF_FORMAT_ENABLED | PERF_FORMAT_RUNNING | PERF_FORMAT_ID
54 struct perf_event_header header;
62 typedef union event_union {
63 struct perf_event_header header;
65 struct mmap_event mmap;
66 struct comm_event comm;
67 struct fork_event fork;
68 struct lost_event lost;
69 struct read_event read;
73 struct list_head node;
77 u64 (*map_ip)(struct map *, u64);
81 static inline u64 map__map_ip(struct map *map, u64 ip)
83 return ip - map->start + map->pgoff;
86 static inline u64 vdso__map_ip(struct map *map __used, u64 ip)
91 struct map *map__new(struct mmap_event *event, char *cwd, int cwdlen);
92 struct map *map__clone(struct map *self);
93 int map__overlap(struct map *l, struct map *r);
94 size_t map__fprintf(struct map *self, FILE *fp);