/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | task_fd_query_rawtp.c | 8 __u32 len, prog_id, fd_type; in test_task_fd_query_rawtp() local 25 &fd_type, &probe_offset, &probe_addr); in test_task_fd_query_rawtp() 30 err = fd_type == BPF_FD_TYPE_RAW_TRACEPOINT && in test_task_fd_query_rawtp() 33 fd_type, buf)) in test_task_fd_query_rawtp() 39 &fd_type, &probe_offset, &probe_addr); in test_task_fd_query_rawtp() 43 err = fd_type == BPF_FD_TYPE_RAW_TRACEPOINT && in test_task_fd_query_rawtp() 45 if (CHECK(!err, "check_results", "fd_type %d len %u\n", fd_type, len)) in test_task_fd_query_rawtp() 51 &fd_type, &probe_offset, &probe_addr); in test_task_fd_query_rawtp() 55 err = fd_type == BPF_FD_TYPE_RAW_TRACEPOINT && in test_task_fd_query_rawtp() 57 if (CHECK(!err, "check_results", "fd_type %d len %u\n", fd_type, len)) in test_task_fd_query_rawtp() [all …]
|
D | task_fd_query_tp.c | 11 __u32 len, prog_id, fd_type; in test_task_fd_query_tp_core() local 55 &fd_type, &probe_offset, &probe_addr); in test_task_fd_query_tp_core() 60 err = (fd_type == BPF_FD_TYPE_TRACEPOINT) && !strcmp(buf, tp_name); in test_task_fd_query_tp_core() 62 fd_type, buf)) in test_task_fd_query_tp_core()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | task_fd_query_user.c | 93 __u32 len, prog_id, fd_type; in test_debug_fs_kprobe() local 99 &prog_id, &fd_type, &probe_offset, in test_debug_fs_kprobe() 108 fd_type != expected_fd_type || in test_debug_fs_kprobe() 114 buf, fd_type, probe_offset, probe_addr); in test_debug_fs_kprobe() 122 char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, in test_nondebug_fs_kuprobe_common() argument 157 prog_id, fd_type, probe_offset, probe_addr) < 0); in test_nondebug_fs_kuprobe_common() 169 __u32 prog_id, fd_type; in test_nondebug_fs_probe() local 175 &fd_type, &probe_offset, in test_nondebug_fs_probe() 184 if ((is_return && fd_type != expected_ret_fd_type) || in test_nondebug_fs_probe() 185 (!is_return && fd_type != expected_fd_type)) { in test_nondebug_fs_probe() [all …]
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | perf.c | 25 __u32 len, prog_id, fd_type; in has_perf_query_support() local 45 &fd_type, &probe_offset, &probe_addr); in has_perf_query_support() 63 static void print_perf_json(int pid, int fd, __u32 prog_id, __u32 fd_type, in print_perf_json() argument 70 switch (fd_type) { in print_perf_json() 113 static void print_perf_plain(int pid, int fd, __u32 prog_id, __u32 fd_type, in print_perf_plain() argument 117 switch (fd_type) { in print_perf_plain() 154 __u32 len, prog_id, fd_type; in show_proc() local 196 err = bpf_task_fd_query(pid, fd, 0, buf, &len, &prog_id, &fd_type, in show_proc() 202 print_perf_json(pid, fd, prog_id, fd_type, buf, probe_offset, in show_proc() 205 print_perf_plain(pid, fd, prog_id, fd_type, buf, probe_offset, in show_proc()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/Documentation/ |
D | bpftool-perf.rst | 62 [{"pid":21711,"fd":5,"prog_id":5,"fd_type":"kprobe","func":"__x64_sys_write","offset":0}, \ 63 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \ 64 {"pid":21767,"fd":5,"prog_id":8,"fd_type":"tracepoint","tracepoint":"sys_enter_nanosleep"}, \ 65 {"pid":21800,"fd":5,"prog_id":9,"fd_type":"uprobe","filename":"/home/yhs/a.out","offset":1159}]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | rdma_core.c | 343 const struct uverbs_obj_fd_type *fd_type; in lookup_get_fd_uobject() local 356 fd_type = in lookup_get_fd_uobject() 369 if (f->f_op != fd_type->fops || uobject->ufile != ufile) { in lookup_get_fd_uobject() 462 const struct uverbs_obj_fd_type *fd_type; in alloc_begin_fd_uobject() local 471 fd_type = in alloc_begin_fd_uobject() 473 if (WARN_ON(fd_type->fops->release != &uverbs_uobject_fd_release && in alloc_begin_fd_uobject() 474 fd_type->fops->release != &uverbs_async_event_release)) { in alloc_begin_fd_uobject() 486 filp = anon_inode_getfile(fd_type->name, fd_type->fops, NULL, in alloc_begin_fd_uobject() 487 fd_type->flags); in alloc_begin_fd_uobject() 582 const struct uverbs_obj_fd_type *fd_type = container_of( in destroy_hw_fd_uobject() local [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | trace_events.h | 636 u32 *fd_type, const char **buf, 673 u32 *prog_id, u32 *fd_type, in bpf_get_perf_event_info() argument 738 u32 *fd_type, const char **symbol, 747 u32 *fd_type, const char **filename,
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | bpf.c | 887 __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, in bpf_task_fd_query() argument 902 *fd_type = attr.task_fd_query.fd_type; in bpf_task_fd_query()
|
D | bpf.h | 241 __u32 *buf_len, __u32 *prog_id, __u32 *fd_type,
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | bpf_trace.c | 2139 u32 *fd_type, const char **buf, in bpf_get_perf_event_info() argument 2162 *fd_type = BPF_FD_TYPE_TRACEPOINT; in bpf_get_perf_event_info() 2170 err = bpf_get_kprobe_info(event, fd_type, buf, in bpf_get_perf_event_info() 2176 err = bpf_get_uprobe_info(event, fd_type, buf, in bpf_get_perf_event_info()
|
D | trace_uprobe.c | 1423 int bpf_get_uprobe_info(const struct perf_event *event, u32 *fd_type, in bpf_get_uprobe_info() argument 1438 *fd_type = is_ret_probe(tu) ? BPF_FD_TYPE_URETPROBE in bpf_get_uprobe_info()
|
D | trace_kprobe.c | 1663 int bpf_get_kprobe_info(const struct perf_event *event, u32 *fd_type, in bpf_get_kprobe_info() argument 1678 *fd_type = trace_kprobe_is_return(tk) ? BPF_FD_TYPE_KRETPROBE in bpf_get_kprobe_info()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | syscall.c | 3851 u32 prog_id, u32 fd_type, in bpf_task_fd_query_copy() argument 3888 put_user(fd_type, &uattr->task_fd_query.fd_type) || in bpf_task_fd_query_copy() 3962 u32 prog_id, fd_type; in bpf_task_fd_query() local 3965 err = bpf_get_perf_event_info(event, &prog_id, &fd_type, in bpf_task_fd_query() 3970 fd_type, buf, in bpf_task_fd_query()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | bpf.h | 287 __u32 fd_type; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | bpf.h | 653 __u32 fd_type; /* output: BPF_FD_TYPE_* */ member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | bpf.h | 653 __u32 fd_type; /* output: BPF_FD_TYPE_* */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | bpf.h | 413 __u32 fd_type; member
|