Searched refs:tls_base (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | strobemeta.h | 270 void *tls_base) in calc_location() argument 287 void *addr = tls_base + loc->offset; in calc_location() 318 &((struct tcbhead *)tls_base)->dtv); in calc_location() 331 size_t idx, void *tls_base, in read_int_var() argument 335 void *location = calc_location(&cfg->int_locs[idx], tls_base); in read_int_var() 346 size_t idx, void *tls_base, in read_str_var() argument 355 location = calc_location(&cfg->str_locs[idx], tls_base); in read_str_var() 376 size_t idx, void *tls_base, in read_map_var() argument 390 location = calc_location(&cfg->map_locs[idx], tls_base); in read_map_var() 449 void *tls_base, *payload; in read_strobe_meta() local [all …]
|
D | pyperf.h | 70 static __always_inline void *get_thread_state(void *tls_base, PidData *pidData) in get_thread_state() argument 77 tls_base + 0x310 + key * 0x10 + 0x08); in get_thread_state() 182 void* tls_base = (void*)task; in __on_event() local 184 void* thread_state = pidData->use_tls ? get_thread_state(tls_base, pidData) in __on_event() 191 bpf_probe_read(&pthread_self, sizeof(pthread_self), tls_base + 0x10); in __on_event()
|