Searched refs:task_ctx (Results 1 – 1 of 1) sorted by relevance
340 static void __intel_pmu_lbr_restore(struct x86_perf_task_context *task_ctx) in __intel_pmu_lbr_restore() argument347 if (task_ctx->lbr_callstack_users == 0 || in __intel_pmu_lbr_restore()348 task_ctx->lbr_stack_state == LBR_NONE) { in __intel_pmu_lbr_restore()353 tos = task_ctx->tos; in __intel_pmu_lbr_restore()359 if ((task_ctx == cpuc->last_task_ctx) && in __intel_pmu_lbr_restore()360 (task_ctx->log_id == cpuc->last_log_id) && in __intel_pmu_lbr_restore()362 task_ctx->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()367 for (i = 0; i < task_ctx->valid_lbrs; i++) { in __intel_pmu_lbr_restore()369 wrlbr_from(lbr_idx, task_ctx->lbr_from[i]); in __intel_pmu_lbr_restore()370 wrlbr_to (lbr_idx, task_ctx->lbr_to[i]); in __intel_pmu_lbr_restore()[all …]