Searched refs:bpf_object (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/tools/perf/util/ |
D | bpf-loader.h | 26 struct bpf_object; 33 struct bpf_object *bpf__prepare_load(const char *filename, bool source); 37 struct bpf_object *bpf__prepare_load_buffer(void *obj_buf, size_t obj_buf_sz, 42 int bpf__probe(struct bpf_object *obj); 43 int bpf__unprobe(struct bpf_object *obj); 44 int bpf__strerror_probe(struct bpf_object *obj, int err, 47 int bpf__load(struct bpf_object *obj); 48 int bpf__strerror_load(struct bpf_object *obj, int err, 50 int bpf__foreach_tev(struct bpf_object *obj, 53 static inline struct bpf_object * [all …]
|
D | bpf-loader.c | 39 struct bpf_object * 42 struct bpf_object *obj; in bpf__prepare_load_buffer() 60 struct bpf_object *bpf__prepare_load(const char *filename, bool source) in bpf__prepare_load() 62 struct bpf_object *obj; in bpf__prepare_load() 94 struct bpf_object *obj, *tmp; in bpf__clear() 200 int bpf__probe(struct bpf_object *obj) in bpf__probe() 240 int bpf__unprobe(struct bpf_object *obj) in bpf__unprobe() 281 int bpf__load(struct bpf_object *obj) in bpf__load() 293 int bpf__foreach_tev(struct bpf_object *obj, in bpf__foreach_tev() 419 int bpf__strerror_probe(struct bpf_object *obj __maybe_unused, in bpf__strerror_probe() [all …]
|
D | parse-events.h | 131 struct bpf_object; 134 struct bpf_object *obj);
|
D | parse-events.l | 118 bpf_object .*\.(o|bpf) 164 {bpf_object} | 273 {bpf_object} { return str(yyscanner, PE_BPF_OBJECT); }
|
D | parse-events.c | 584 struct bpf_object *obj) in parse_events_load_bpf_obj() 639 struct bpf_object *obj; in parse_events_load_bpf()
|
/linux-4.4.14/tools/lib/bpf/ |
D | libbpf.h | 47 struct bpf_object; 49 struct bpf_object *bpf_object__open(const char *path); 50 struct bpf_object *bpf_object__open_buffer(void *obj_buf, 53 void bpf_object__close(struct bpf_object *object); 56 int bpf_object__load(struct bpf_object *obj); 57 int bpf_object__unload(struct bpf_object *obj); 58 const char *bpf_object__get_name(struct bpf_object *obj); 59 unsigned int bpf_object__get_kversion(struct bpf_object *obj); 61 struct bpf_object *bpf_object__next(struct bpf_object *prev); 71 struct bpf_object *obj);
|
D | libbpf.c | 157 struct bpf_object *obj; 164 struct bpf_object { struct 272 bpf_object__add_program(struct bpf_object *obj, void *data, size_t size, in bpf_object__add_program() 306 static struct bpf_object *bpf_object__new(const char *path, in bpf_object__new() 310 struct bpf_object *obj; in bpf_object__new() 312 obj = calloc(1, sizeof(struct bpf_object) + strlen(path) + 1); in bpf_object__new() 337 static void bpf_object__elf_finish(struct bpf_object *obj) in bpf_object__elf_finish() 355 static int bpf_object__elf_init(struct bpf_object *obj) in bpf_object__elf_init() 414 bpf_object__check_endianness(struct bpf_object *obj) in bpf_object__check_endianness() 442 bpf_object__init_license(struct bpf_object *obj, in bpf_object__init_license() [all …]
|
/linux-4.4.14/tools/perf/tests/ |
D | bpf.c | 42 static int do_test(struct bpf_object *obj, int (*func)(void), in do_test() 136 static struct bpf_object * 139 struct bpf_object *obj; in prepare_bpf() 154 struct bpf_object *obj; in __test__bpf()
|
D | llvm.c | 18 struct bpf_object *obj; in test__bpf_parsing()
|