Lines Matching refs:cur_thread
200 thread = context->cur_thread; in kperf_continuation_sample()
218 assert(context->cur_thread == current_thread()); in kperf_backtrace_sample()
238 if ((context->cur_thread->th_exclaves_state & TH_EXCLAVES_RPC) != 0) { in kperf_backtrace_sample()
270 thread = context->cur_thread; in kperf_kcallstack_sample()
332 thread_t thread = context->cur_thread; in kperf_ucallstack_sample()
496 if ((context->cur_thread->th_exclaves_state & TH_EXCLAVES_RPC) in kperf_exclave_callstack_pend()
497 …&& (os_atomic_load(&context->cur_thread->th_exclaves_inspection_state, relaxed) & TH_EXCLAVES_INSP… in kperf_exclave_callstack_pend()
498 …os_atomic_or(&context->cur_thread->th_exclaves_inspection_state, TH_EXCLAVES_INSPECTION_KPERF, rel… in kperf_exclave_callstack_pend()
499 context->cur_thread->kperf_exclaves_ast |= T_KPERF_SET_ACTIONID(actionid); in kperf_exclave_callstack_pend()
513 kperf_ast_set_callstack_depth(context->cur_thread, depth); in kperf_ucallstack_pend()
514 return kperf_ast_pend(context->cur_thread, T_KPERF_AST_CALLSTACK, in kperf_ucallstack_pend()