Home
last modified time | relevance | path

Searched refs:task_context_opt (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/arch/x86/events/intel/
H A Dlbr.c427 return task_context_opt(ctx)->lbr_callstack_users || in has_lbr_callstack_users()
436 task_context_opt(ctx)->lbr_stack_state == LBR_NONE) { in __intel_pmu_lbr_restore()
447 (task_context_opt(ctx)->log_id == cpuc->last_log_id) && in __intel_pmu_lbr_restore()
449 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()
455 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()
513 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_save()
519 task_context_opt(ctx)->lbr_stack_state = LBR_VALID; in __intel_pmu_lbr_save()
522 cpuc->last_log_id = ++task_context_opt(ctx)->log_id; in __intel_pmu_lbr_save()
588 task_context_opt(ctx_data->data)->lbr_callstack_users++; in intel_pmu_lbr_add()
674 task_context_opt(ctx_data->data)->lbr_callstack_users--; in intel_pmu_lbr_del()
/linux-6.15/arch/x86/events/
H A Dperf_event.h1102 static __always_inline struct x86_perf_task_context_opt *task_context_opt(void *ctx) in task_context_opt() function