Home
last modified time | relevance | path

Searched refs:btf_data (Results 1 – 2 of 2) sorted by relevance

/tools/lib/bpf/
Dbtf.c384 Elf_Data *btf_data = NULL, *btf_ext_data = NULL; in btf__parse_elf() local
440 btf_data = elf_getdata(scn, 0); in btf__parse_elf()
441 if (!btf_data) { in btf__parse_elf()
460 if (!btf_data) { in btf__parse_elf()
464 btf = btf__new(btf_data->d_buf, btf_data->d_size); in btf__parse_elf()
Dlibbpf.c1439 Elf_Data *btf_data, in bpf_object__init_btf() argument
1445 if (btf_data) { in bpf_object__init_btf()
1446 obj->btf = btf__new(btf_data->d_buf, btf_data->d_size); in bpf_object__init_btf()
1524 Elf_Data *btf_data = NULL; in bpf_object__elf_collect() local
1581 btf_data = data; in bpf_object__elf_collect()
1652 err = bpf_object__init_btf(obj, btf_data, btf_ext_data); in bpf_object__elf_collect()