Lines Matching refs:task_context_opt
449 if (task_context_opt(ctx)->lbr_callstack_users == 0 || in __intel_pmu_lbr_restore()
450 task_context_opt(ctx)->lbr_stack_state == LBR_NONE) { in __intel_pmu_lbr_restore()
461 (task_context_opt(ctx)->log_id == cpuc->last_log_id) && in __intel_pmu_lbr_restore()
463 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()
469 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()
526 if (task_context_opt(ctx)->lbr_callstack_users == 0) { in __intel_pmu_lbr_save()
527 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_save()
533 task_context_opt(ctx)->lbr_stack_state = LBR_VALID; in __intel_pmu_lbr_save()
536 cpuc->last_log_id = ++task_context_opt(ctx)->log_id; in __intel_pmu_lbr_save()
558 swap(task_context_opt(prev_ctx_data)->lbr_callstack_users, in intel_pmu_lbr_swap_task_ctx()
559 task_context_opt(next_ctx_data)->lbr_callstack_users); in intel_pmu_lbr_swap_task_ctx()
612 task_context_opt(event->ctx->task_ctx_data)->lbr_callstack_users++; in intel_pmu_lbr_add()
689 task_context_opt(event->ctx->task_ctx_data)->lbr_callstack_users--; in intel_pmu_lbr_del()