/linux-6.6.21/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 60 &fd_type, &probe_offset, &probe_addr); in test_task_fd_query_tp_core() 65 err = (fd_type == BPF_FD_TYPE_TRACEPOINT) && !strcmp(buf, tp_name); in test_task_fd_query_tp_core() 67 fd_type, buf)) in test_task_fd_query_tp_core()
|
/linux-6.6.21/tools/bpf/bpftool/ |
D | perf.c | 27 __u32 len, prog_id, fd_type; in has_perf_query_support() local 47 &fd_type, &probe_offset, &probe_addr); in has_perf_query_support() 65 static void print_perf_json(int pid, int fd, __u32 prog_id, __u32 fd_type, in print_perf_json() argument 72 switch (fd_type) { in print_perf_json() 115 static void print_perf_plain(int pid, int fd, __u32 prog_id, __u32 fd_type, in print_perf_plain() argument 119 switch (fd_type) { in print_perf_plain() 156 __u32 len, prog_id, fd_type; in show_proc() local 201 &prog_id, &fd_type, in show_proc() 207 print_perf_json(pid, fd, prog_id, fd_type, buf, in show_proc() 210 print_perf_plain(pid, fd, prog_id, fd_type, buf, in show_proc()
|
/linux-6.6.21/samples/bpf/ |
D | task_fd_query_user.c | 95 __u32 len, prog_id, fd_type; in test_debug_fs_kprobe() local 102 &prog_id, &fd_type, &probe_offset, in test_debug_fs_kprobe() 111 fd_type != expected_fd_type || in test_debug_fs_kprobe() 117 buf, fd_type, probe_offset, probe_addr); in test_debug_fs_kprobe() 125 char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, in test_nondebug_fs_kuprobe_common() argument 165 prog_id, fd_type, probe_offset, probe_addr) < 0); in test_nondebug_fs_kuprobe_common() 180 __u32 prog_id, fd_type; in test_nondebug_fs_probe() local 186 &fd_type, &probe_offset, in test_nondebug_fs_probe() 195 if ((is_return && fd_type != expected_ret_fd_type) || in test_nondebug_fs_probe() 196 (!is_return && fd_type != expected_fd_type)) { in test_nondebug_fs_probe() [all …]
|
/linux-6.6.21/tools/bpf/bpftool/Documentation/ |
D | bpftool-perf.rst | 66 [{"pid":21711,"fd":5,"prog_id":5,"fd_type":"kprobe","func":"__x64_sys_write","offset":0}, \ 67 … {"pid":21765,"fd":5,"prog_id":7,"fd_type":"kretprobe","func":"__x64_sys_nanosleep","offset":0}, \ 68 {"pid":21767,"fd":5,"prog_id":8,"fd_type":"tracepoint","tracepoint":"sys_enter_nanosleep"}, \ 69 {"pid":21800,"fd":5,"prog_id":9,"fd_type":"uprobe","filename":"/home/yhs/a.out","offset":1159}]
|
/linux-6.6.21/drivers/infiniband/core/ |
D | rdma_core.c | 337 const struct uverbs_obj_fd_type *fd_type; in lookup_get_fd_uobject() local 350 fd_type = in lookup_get_fd_uobject() 363 if (f->f_op != fd_type->fops || uobject->ufile != ufile) { in lookup_get_fd_uobject() 456 const struct uverbs_obj_fd_type *fd_type; in alloc_begin_fd_uobject() local 465 fd_type = in alloc_begin_fd_uobject() 467 if (WARN_ON(fd_type->fops->release != &uverbs_uobject_fd_release && in alloc_begin_fd_uobject() 468 fd_type->fops->release != &uverbs_async_event_release)) { in alloc_begin_fd_uobject() 480 filp = anon_inode_getfile(fd_type->name, fd_type->fops, NULL, in alloc_begin_fd_uobject() 481 fd_type->flags); in alloc_begin_fd_uobject() 571 const struct uverbs_obj_fd_type *fd_type = container_of( in destroy_hw_fd_uobject() local [all …]
|
/linux-6.6.21/include/linux/ |
D | trace_events.h | 767 u32 *fd_type, const char **buf, 806 u32 *prog_id, u32 *fd_type, in bpf_get_perf_event_info() argument 882 u32 *fd_type, const char **symbol, 891 u32 *fd_type, const char **filename,
|
/linux-6.6.21/tools/lib/bpf/ |
D | bpf.h | 590 __u32 *buf_len, __u32 *prog_id, __u32 *fd_type,
|
D | bpf.c | 1218 __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, in bpf_task_fd_query() argument 1236 *fd_type = attr.task_fd_query.fd_type; in bpf_task_fd_query()
|
/linux-6.6.21/kernel/trace/ |
D | bpf_trace.c | 2389 u32 *fd_type, const char **buf, in bpf_get_perf_event_info() argument 2413 if (fd_type) in bpf_get_perf_event_info() 2414 *fd_type = BPF_FD_TYPE_TRACEPOINT; in bpf_get_perf_event_info() 2424 err = bpf_get_kprobe_info(event, fd_type, buf, in bpf_get_perf_event_info() 2430 err = bpf_get_uprobe_info(event, fd_type, buf, in bpf_get_perf_event_info()
|
D | trace_uprobe.c | 1415 int bpf_get_uprobe_info(const struct perf_event *event, u32 *fd_type, in bpf_get_uprobe_info() argument 1430 *fd_type = is_ret_probe(tu) ? BPF_FD_TYPE_URETPROBE in bpf_get_uprobe_info()
|
D | trace_kprobe.c | 1608 int bpf_get_kprobe_info(const struct perf_event *event, u32 *fd_type, in bpf_get_kprobe_info() argument 1623 *fd_type = trace_kprobe_is_return(tk) ? BPF_FD_TYPE_KRETPROBE in bpf_get_kprobe_info()
|
/linux-6.6.21/kernel/bpf/ |
D | syscall.c | 3414 u32 *fd_type) in bpf_perf_link_fill_common() argument 3424 err = bpf_get_perf_event_info(event, &prog_id, fd_type, &buf, in bpf_perf_link_fill_common() 4759 u32 prog_id, u32 fd_type, in bpf_task_fd_query_copy() argument 4796 put_user(fd_type, &uattr->task_fd_query.fd_type) || in bpf_task_fd_query_copy() 4857 u32 prog_id, fd_type; in bpf_task_fd_query() local 4860 err = bpf_get_perf_event_info(event, &prog_id, &fd_type, in bpf_task_fd_query() 4865 fd_type, buf, in bpf_task_fd_query()
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | bpf.h | 1580 __u32 fd_type; /* output: BPF_FD_TYPE_* */ member
|
/linux-6.6.21/include/uapi/linux/ |
D | bpf.h | 1580 __u32 fd_type; /* output: BPF_FD_TYPE_* */ member
|