Home
last modified time | relevance | path

Searched refs:prog_name (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dstacktrace_map_raw_tp.c6 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()
Dstacktrace_map.c7 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()
Dperf_buffer.c23 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()
Dobj_name.c30 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()
Dstacktrace_build_id.c7 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()
Dget_stack_raw_tp.c85 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()
Dstacktrace_build_id_nmi.c20 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/
Dtest_socket_cookie.c136 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/
Dbpftool-btf.rst226 **# bpftool btf dump prog pinned /sys/fs/bpf/prog_name**
/tools/lib/bpf/
Dlibbpf.c3011 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()
Dbpf.c254 memcpy(attr.prog_name, load_attr->name, in bpf_load_program_xattr()
/tools/include/uapi/linux/
Dbpf.h409 char prog_name[BPF_OBJ_NAME_LEN]; member
/tools/perf/
Dbuiltin-trace.c2798 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()