Home
last modified time | relevance | path

Searched refs:bpf_probe_read (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/progs/
Dpyperf.h75 bpf_probe_read(&key, sizeof(key), (void*)(long)pidData->tls_key_addr); in get_thread_state()
76 bpf_probe_read(&thread_state, sizeof(thread_state), in get_thread_state()
85 bpf_probe_read(&frame->f_back, in get_frame_data()
88 bpf_probe_read(&frame->f_code, in get_frame_data()
95 bpf_probe_read(&frame->co_filename, in get_frame_data()
98 bpf_probe_read(&frame->co_name, in get_frame_data()
177 bpf_probe_read(&thread_state_current, in __on_event()
191 bpf_probe_read(&pthread_self, sizeof(pthread_self), tls_base + 0x10); in __on_event()
193 bpf_probe_read(&pthread_created, in __on_event()
207 bpf_probe_read(&frame_ptr, in __on_event()
Dstrobemeta.h312 bpf_probe_read(&tls_index, sizeof(struct tls_index), in calc_location()
317 bpf_probe_read(&dtv, sizeof(dtv), in calc_location()
323 bpf_probe_read(&tls_ptr, sizeof(void *), dtv); in calc_location()
339 bpf_probe_read(value, sizeof(struct strobe_value_generic), location); in read_int_var()
359 bpf_probe_read(value, sizeof(struct strobe_value_generic), location); in read_str_var()
394 bpf_probe_read(value, sizeof(struct strobe_value_generic), location); in read_map_var()
395 if (bpf_probe_read(&map, sizeof(struct strobe_map_raw), value->ptr)) in read_map_var()
Dtest_tcp_estats.c41 #define _(P) ({typeof(P) val = 0; bpf_probe_read(&val, sizeof(val), &P); val;})
/tools/testing/selftests/bpf/
Dbpf_helpers.h39 static int (*bpf_probe_read)(void *dst, int size, const void *unsafe_ptr) = variable
509 bpf_probe_read(&(ip), sizeof(ip), (void *)PT_REGS_RET(ctx)); })
511 bpf_probe_read(&(ip), sizeof(ip), \
532 bpf_probe_read((dst), sizeof(*(src)), \