Searched refs:attach_btf_id (Results 1 – 12 of 12) sorted by relevance
| /tools/bpf/bpftool/ |
| A D | cgroup.c | 157 info.attach_btf_id < btf__type_cnt(btf_vmlinux)) { in show_bpf_prog() 159 btf__type_by_id(btf_vmlinux, info.attach_btf_id); in show_bpf_prog() 179 jsonw_uint_field(json_wtr, "attach_btf_id", info.attach_btf_id); in show_bpf_prog() 193 else if (info.attach_btf_id) in show_bpf_prog() 195 info.attach_btf_obj_id, info.attach_btf_id); in show_bpf_prog()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | fexit_stress.c | 35 trace_opts.attach_btf_id = err; in serial_test_fexit_stress()
|
| A D | fexit_bpf2bpf.c | 459 static int load_fentry(int attach_prog_fd, int attach_btf_id) in load_fentry() argument 464 .attach_btf_id = attach_btf_id, in load_fentry() 516 ASSERT_EQ(info.attach_btf_id, btf_id, "info.attach_btf_id"); in test_fentry_to_cgroup_bpf()
|
| A D | module_fentry_shadow.c | 100 load_opts.attach_btf_id = btf_id[i]; in test_module_fentry_shadow()
|
| A D | lsm_cgroup.c | 50 if (info.attach_btf_id == in query_prog_cnt()
|
| /tools/lib/bpf/ |
| A D | libbpf_probes.c | 141 opts.attach_btf_id = 1; in probe_prog_load() 150 opts.attach_btf_id = 1; in probe_prog_load()
|
| A D | bpf.h | 83 __u32 attach_btf_id; member
|
| A D | gen_loader.c | 1021 attr.attach_btf_id = tgt_endian(load_attr->attach_btf_id); in bpf_gen__prog_load() 1091 offsetof(union bpf_attr, attach_btf_id))); in bpf_gen__prog_load()
|
| A D | bpf.c | 288 attr.attach_btf_id = OPTS_GET(opts, attach_btf_id, 0); in bpf_prog_load()
|
| A D | libbpf.c | 488 __u32 attach_btf_id; member 1285 if (!prog->attach_btf_id) { in bpf_map__init_kern_struct_ops() 1286 prog->attach_btf_id = kern_type_id; in bpf_map__init_kern_struct_ops() 1295 if (prog->attach_btf_id != kern_type_id) { in bpf_map__init_kern_struct_ops() 1298 prog->attach_btf_id, kern_type_id); in bpf_map__init_kern_struct_ops() 7433 if ((def & SEC_ATTACH_BTF) && !prog->attach_btf_id) { in libbpf_prepare_prog_load() 7460 prog->attach_btf_id = btf_type_id; in libbpf_prepare_prog_load() 7468 opts->attach_btf_id = btf_type_id; in libbpf_prepare_prog_load() 7500 if (prog->attach_btf_id == 0) { in bpf_object_load_prog() 7517 load_attr.attach_btf_id = prog->attach_btf_id; in bpf_object_load_prog() [all …]
|
| /tools/testing/selftests/bpf/ |
| A D | test_verifier.c | 1574 int attach_btf_id; in do_test_single() local 1576 attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single() 1578 if (attach_btf_id < 0) { in do_test_single() 1585 opts.attach_btf_id = attach_btf_id; in do_test_single()
|
| /tools/include/uapi/linux/ |
| A D | bpf.h | 1578 __u32 attach_btf_id; /* in-kernel BTF type id to attach to */ member 6649 __u32 attach_btf_id; member
|
Completed in 62 milliseconds