/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()
|
/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()
|
/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}]
|
/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()
|
/tools/include/uapi/linux/ |
D | bpf.h | 1597 __u32 fd_type; /* output: BPF_FD_TYPE_* */ member
|