thread_state
enum thread_state state;
void* thread_state = pidData->use_tls ? get_thread_state(tls_base, pidData)
event->thread_current = thread_state == thread_state_current;
thread_state +
thread_state +
void* thread_state;
bpf_probe_read_user(&thread_state, sizeof(thread_state),
return thread_state;
} thread_state;
static thread_state thread_state_get(pid_t tid)
static void thread_state_until(pid_t tid, thread_state state)
thread_state s;