header.h (8dc58101f2c838355d44402aa77646649d10dbec) header.h (2c46dbb517a10b18d459e6ceffefde5bfb290cf6)
1#ifndef __PERF_HEADER_H
2#define __PERF_HEADER_H
3
4#include "../../../include/linux/perf_event.h"
5#include <sys/types.h>
6#include <stdbool.h>
7#include "types.h"
8#include "event.h"

--- 81 unchanged lines hidden (view full) ---

90 int (*process)(struct perf_file_section *self,
91 struct perf_header *ph,
92 int feat, int fd));
93
94int build_id_cache__add_s(const char *sbuild_id, const char *debugdir,
95 const char *name, bool is_kallsyms);
96int build_id_cache__remove_s(const char *sbuild_id, const char *debugdir);
97
1#ifndef __PERF_HEADER_H
2#define __PERF_HEADER_H
3
4#include "../../../include/linux/perf_event.h"
5#include <sys/types.h>
6#include <stdbool.h>
7#include "types.h"
8#include "event.h"

--- 81 unchanged lines hidden (view full) ---

90 int (*process)(struct perf_file_section *self,
91 struct perf_header *ph,
92 int feat, int fd));
93
94int build_id_cache__add_s(const char *sbuild_id, const char *debugdir,
95 const char *name, bool is_kallsyms);
96int build_id_cache__remove_s(const char *sbuild_id, const char *debugdir);
97
98int event__synthesize_attr(struct perf_event_attr *attr, u16 ids, u64 *id,
99 event__handler_t process,
100 struct perf_session *session);
101int event__synthesize_attrs(struct perf_header *self,
102 event__handler_t process,
103 struct perf_session *session);
104int event__process_attr(event_t *self, struct perf_session *session);
105
98#endif /* __PERF_HEADER_H */
106#endif /* __PERF_HEADER_H */