Searched refs:task_ctx (Results 1 – 1 of 1) sorted by relevance
331 static void __intel_pmu_lbr_restore(struct x86_perf_task_context *task_ctx) in __intel_pmu_lbr_restore() argument337 if (task_ctx->lbr_callstack_users == 0 || in __intel_pmu_lbr_restore()338 task_ctx->lbr_stack_state == LBR_NONE) { in __intel_pmu_lbr_restore()344 tos = task_ctx->tos; in __intel_pmu_lbr_restore()347 wrlbr_from(lbr_idx, task_ctx->lbr_from[i]); in __intel_pmu_lbr_restore()348 wrlbr_to (lbr_idx, task_ctx->lbr_to[i]); in __intel_pmu_lbr_restore()351 wrmsrl(MSR_LBR_INFO_0 + lbr_idx, task_ctx->lbr_info[i]); in __intel_pmu_lbr_restore()354 task_ctx->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()357 static void __intel_pmu_lbr_save(struct x86_perf_task_context *task_ctx) in __intel_pmu_lbr_save() argument363 if (task_ctx->lbr_callstack_users == 0) { in __intel_pmu_lbr_save()[all …]