Home
last modified time | relevance | path

Searched refs:btf_ext (Results 1 - 6 of 6) sorted by relevance

/third_party/libbpf/src/
H A Dbtf.h24 struct btf_ext;
110 LIBBPF_API struct btf *btf__parse(const char *path, struct btf_ext **btf_ext);
112 LIBBPF_API struct btf *btf__parse_elf(const char *path, struct btf_ext **btf_ext);
145 LIBBPF_API struct btf_ext *btf_ext__new(const __u8 *data, __u32 size);
146 LIBBPF_API void btf_ext__free(struct btf_ext *btf_ext);
147 LIBBPF_API const void *btf_ext__raw_data(const struct btf_ext *btf_ext, __u3
225 struct btf_ext *btf_ext; global() member
[all...]
H A Dbtf.c1107 struct btf_ext **btf_ext)
1235 } else if (btf_ext && strcmp(name, BTF_EXT_ELF_SEC) == 0) {
1281 if (btf_ext && btf_ext_data) {
1282 *btf_ext = btf_ext__new(btf_ext_data->d_buf, btf_ext_data->d_size);
1283 err = libbpf_get_error(*btf_ext);
1286 } else if (btf_ext) {
1287 *btf_ext = NULL;
1303 if (btf_ext)
1304 btf_ext__free(*btf_ext);
1106 btf_parse_elf(const char *path, struct btf *base_btf, struct btf_ext **btf_ext) global() argument
1310 btf__parse_elf(const char *path, struct btf_ext **btf_ext) global() argument
1393 btf_parse(const char *path, struct btf *base_btf, struct btf_ext **btf_ext) global() argument
1410 btf__parse(const char *path, struct btf_ext **btf_ext) global() argument
2917 btf_ext_setup_info(struct btf_ext *btf_ext, struct btf_ext_sec_setup_param *ext_sec) global() argument
3008 btf_ext_setup_func_info(struct btf_ext *btf_ext) global() argument
3021 btf_ext_setup_line_info(struct btf_ext *btf_ext) global() argument
3034 btf_ext_setup_core_relos(struct btf_ext *btf_ext) global() argument
3083 btf_ext__free(struct btf_ext *btf_ext) global() argument
3096 struct btf_ext *btf_ext; global() local
3144 btf_ext__get_raw_data(const struct btf_ext *btf_ext, __u32 *size) global() argument
3376 struct btf_ext *btf_ext; global() member
5209 btf_ext_visit_type_ids(struct btf_ext *btf_ext, type_id_visit_fn visit, void *ctx) global() argument
5240 btf_ext_visit_str_offs(struct btf_ext *btf_ext, str_off_visit_fn visit, void *ctx) global() argument
[all...]
H A Dlibbpf_legacy.h126 struct btf_ext;
134 LIBBPF_API const void *btf_ext__get_raw_data(const struct btf_ext *btf_ext, __u32 *size);
H A Dlinker.c59 struct btf_ext *btf_ext; member
148 struct btf_ext *btf_ext; member
198 btf_ext__free(linker->btf_ext); in bpf_linker__free()
462 btf_ext__free(obj.btf_ext); in bpf_linker__add_file()
666 obj->btf_ext = btf_ext__new(data->d_buf, shdr->sh_size); in linker_load_obj_file()
667 err = libbpf_get_error(obj->btf_ext); in linker_load_obj_file()
963 if (!obj->btf_ext) in linker_sanity_check_btf_ext()
970 err = err ?: btf_ext_visit_type_ids(obj->btf_ext, check_btf_type_i in linker_sanity_check_btf_ext()
[all...]
H A Dlibbpf_internal.h488 struct btf_ext { struct
552 int btf_ext_visit_type_ids(struct btf_ext *btf_ext, type_id_visit_fn visit, void *ctx);
553 int btf_ext_visit_str_offs(struct btf_ext *btf_ext, str_off_visit_fn visit, void *ctx);
H A Dlibbpf.c685 struct btf_ext *btf_ext; member
2957 obj->btf_ext = btf_ext__new(btf_ext_data->d_buf, btf_ext_data->d_size);
2958 err = libbpf_get_error(obj->btf_ext);
2962 obj->btf_ext = NULL;
2967 ext_segs[0] = &obj->btf_ext->func_info;
2968 ext_segs[1] = &obj->btf_ext->line_info;
2969 ext_segs[2] = &obj->btf_ext->core_relo_info;
3175 if (obj->btf_ext && obj->btf_ext
[all...]

Completed in 18 milliseconds