/tools/testing/selftests/bpf/prog_tests/ |
D | stacktrace_map_raw_tp.c | 6 const char *prog_name = "tracepoint/sched/sched_switch"; in test_stacktrace_map_raw_tp() local 19 prog = bpf_object__find_program_by_title(obj, prog_name); in test_stacktrace_map_raw_tp() 20 if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) in test_stacktrace_map_raw_tp()
|
D | stacktrace_map.c | 7 const char *prog_name = "tracepoint/sched/sched_switch"; in test_stacktrace_map() local 19 prog = bpf_object__find_program_by_title(obj, prog_name); in test_stacktrace_map() 20 if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) in test_stacktrace_map()
|
D | perf_buffer.c | 23 const char *prog_name = "kprobe/sys_nanosleep"; in test_perf_buffer() local 42 prog = bpf_object__find_program_by_title(obj, prog_name); in test_perf_buffer() 43 if (CHECK(!prog, "find_probe", "prog '%s' not found\n", prog_name)) in test_perf_buffer()
|
D | obj_name.c | 30 ncopy = name_len < sizeof(attr.prog_name) ? in test_obj_name() 31 name_len : sizeof(attr.prog_name); in test_obj_name() 37 memcpy(attr.prog_name, tests[i].name, ncopy); in test_obj_name()
|
D | stacktrace_build_id.c | 7 const char *prog_name = "tracepoint/random/urandom_read"; in test_stacktrace_build_id() local 25 prog = bpf_object__find_program_by_title(obj, prog_name); in test_stacktrace_build_id() 26 if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) in test_stacktrace_build_id()
|
D | get_stack_raw_tp.c | 85 const char *prog_name = "raw_tracepoint/sys_enter"; in test_get_stack_raw_tp() local 100 prog = bpf_object__find_program_by_title(obj, prog_name); in test_get_stack_raw_tp() 101 if (CHECK(!prog, "find_probe", "prog '%s' not found\n", prog_name)) in test_get_stack_raw_tp()
|
D | stacktrace_build_id_nmi.c | 20 const char *prog_name = "tracepoint/random/urandom_read"; in test_stacktrace_build_id_nmi() local 45 prog = bpf_object__find_program_by_title(obj, prog_name); in test_stacktrace_build_id_nmi() 46 if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) in test_stacktrace_build_id_nmi()
|
/tools/testing/selftests/bpf/ |
D | test_socket_cookie.c | 136 const char *prog_name; in run_test() local 154 prog_name = bpf_program__title(prog, /*needs_copy*/ false); in run_test() 156 if (libbpf_attach_type_by_name(prog_name, &attach_type)) in run_test() 162 log_err("Failed to attach prog %s", prog_name); in run_test()
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-btf.rst | 226 **# bpftool btf dump prog pinned /sys/fs/bpf/prog_name**
|
/tools/lib/bpf/ |
D | libbpf.c | 3011 const char *prog_name = bpf_program__title(prog, false); in bpf_core_reloc_offset() local 3037 prog_name, relo_idx, local_id, local_name, spec_str, in bpf_core_reloc_offset() 3042 pr_debug("prog '%s': relo #%d: spec is ", prog_name, relo_idx); in bpf_core_reloc_offset() 3050 prog_name, relo_idx, local_id, local_name, in bpf_core_reloc_offset() 3069 prog_name, relo_idx, i, cand_name); in bpf_core_reloc_offset() 3074 prog_name, relo_idx, err); in bpf_core_reloc_offset() 3087 prog_name, relo_idx, cand_spec.offset, in bpf_core_reloc_offset() 3098 prog_name, relo_idx, local_id, local_name, spec_str); in bpf_core_reloc_offset() 3106 prog_name, relo_idx, relo->insn_off, err); in bpf_core_reloc_offset()
|
D | bpf.c | 254 memcpy(attr.prog_name, load_attr->name, in bpf_load_program_xattr()
|
/tools/include/uapi/linux/ |
D | bpf.h | 409 char prog_name[BPF_OBJ_NAME_LEN]; member
|
/tools/perf/ |
D | builtin-trace.c | 2798 const char *prog_name, const char *type) in trace__find_syscall_bpf_prog() argument 2802 if (prog_name == NULL) { in trace__find_syscall_bpf_prog() 2817 prog = trace__find_bpf_program_by_title(trace, prog_name); in trace__find_syscall_bpf_prog() 2825 prog_name, type, sc->name); in trace__find_syscall_bpf_prog()
|