Home
last modified time | relevance | path

Searched refs:bpf_probe_read_user (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dpyperf.h80 bpf_probe_read_user(&key, sizeof(key), (void*)(long)pidData->tls_key_addr); in get_thread_state()
81 bpf_probe_read_user(&thread_state, sizeof(thread_state), in get_thread_state()
90 bpf_probe_read_user(&frame->f_back, in get_frame_data()
93 bpf_probe_read_user(&frame->f_code, in get_frame_data()
100 bpf_probe_read_user(&frame->co_filename, in get_frame_data()
103 bpf_probe_read_user(&frame->co_name, in get_frame_data()
191 bpf_probe_read_user(&thread_state_current, in __on_event()
205 bpf_probe_read_user(&pthread_self, sizeof(pthread_self), in __on_event()
208 bpf_probe_read_user(&pthread_created, in __on_event()
223 bpf_probe_read_user(&frame_ptr, in __on_event()
Dtest_vmlinux.c28 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in handle__tp()
46 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in BPF_PROG()
64 if (bpf_probe_read_user(&tv_nsec, sizeof(ts->tv_nsec), &ts->tv_nsec) || in BPF_PROG()
Dstrobemeta.h316 bpf_probe_read_user(&tls_index, sizeof(struct tls_index), in calc_location()
321 bpf_probe_read_user(&dtv, sizeof(dtv), in calc_location()
327 bpf_probe_read_user(&tls_ptr, sizeof(void *), dtv); in calc_location()
348 bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location); in read_int_var()
368 bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location); in read_str_var()
403 bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location); in read_map_var()
404 if (bpf_probe_read_user(&map, sizeof(struct strobe_map_raw), value->ptr)) in read_map_var()
Dtest_probe_user.c19 bpf_probe_read_user(&old, sizeof(old), ptr); in BPF_KPROBE()
/Linux-v5.10/samples/bpf/
Dtest_map_in_map_kern.c122 ret = bpf_probe_read_user(dst6, sizeof(dst6), &in6->sin6_addr); in trace_sys_connect()
133 ret = bpf_probe_read_user(&port, sizeof(port), &in6->sin6_port); in trace_sys_connect()
Dtest_probe_write_user_kern.c43 if (bpf_probe_read_user(&orig_addr, sizeof(orig_addr), sockaddr_arg) != 0) in SYSCALL()
Dmap_perf_test_kern.c190 ret = bpf_probe_read_user(test_params.dst6, sizeof(test_params.dst6), in SYSCALL()
/Linux-v5.10/kernel/trace/
Dbpf_trace.c163 BPF_CALL_3(bpf_probe_read_user, void *, dst, u32, size, in BPF_CALL_3() argument
170 .func = bpf_probe_read_user,