Home
last modified time | relevance | path

Searched refs:binary_path (Results 1 – 6 of 6) sorted by relevance

/linux/tools/lib/bpf/
A Delf.c25 int elf_open(const char *binary_path, struct elf_fd *elf_fd) in elf_open() argument
38 fd = open(binary_path, O_RDONLY | O_CLOEXEC); in elf_open()
41 pr_warn("elf: failed to open %s: %s\n", binary_path, in elf_open()
100 Elf *elf, const char *binary_path, in elf_sym_iter_new() argument
117 binary_path); in elf_sym_iter_new()
128 binary_path, elf_errmsg(-1)); in elf_sym_iter_new()
340 sym->name, name, binary_path); in elf_find_func_offset()
383 ret = elf_open(binary_path, &elf_fd); in elf_find_func_offset_from_file()
420 err = elf_open(binary_path, &elf_fd); in elf_resolve_syms_offsets()
470 sym->name, sym_offset, binary_path, *offset); in elf_resolve_syms_offsets()
[all …]
A Dlibbpf_internal.h671 long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name);
672 long elf_find_func_offset_from_file(const char *binary_path, const char *name);
679 int elf_open(const char *binary_path, struct elf_fd *elf_fd);
682 int elf_resolve_syms_offsets(const char *binary_path, int cnt,
685 int elf_resolve_pattern_offsets(const char *binary_path, const char *pattern,
A Dlibbpf.h612 const char *binary_path,
705 pid_t pid, const char *binary_path,
724 const char *binary_path, size_t func_offset,
754 pid_t pid, const char *binary_path,
A Dlibbpf.c11706 free(binary_path); in attach_uprobe_multi()
11767 binary_path, offset, err); in perf_event_uprobe_open_legacy()
12079 if (!binary_path) in bpf_program__attach_uprobe_opts()
12089 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12097 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12106 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12159 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12170 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12250 free(binary_path); in attach_uprobe()
12286 if (!binary_path) in bpf_program__attach_usdt()
[all …]
/linux/samples/bpf/
A Dtask_fd_query_user.c227 static int test_debug_fs_uprobe(char *binary_path, long offset, bool is_return) in test_debug_fs_uprobe() argument
248 binary_path, offset); in test_debug_fs_uprobe()
284 printf("FAIL: %s, binary_path %s\n", __func__, binary_path); in test_debug_fs_uprobe()
294 if (strcmp(binary_path, buf) != 0) { in test_debug_fs_uprobe()
/linux/tools/perf/util/
A Dsrcline.c467 const char *binary_path) in addr2line_subprocess_init() argument
471 "-e", binary_path, in addr2line_subprocess_init()
493 addr2line_path, binary_path, start_command_status); in addr2line_subprocess_init()

Completed in 58 milliseconds