]> www.infradead.org Git - users/dwmw2/linux.git/commit
perf/x86: Remove swap_task_ctx()
authorKan Liang <kan.liang@linux.intel.com>
Fri, 14 Mar 2025 17:26:59 +0000 (10:26 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Mar 2025 10:23:37 +0000 (11:23 +0100)
commit1fbc6c8e5289c252867c33bf12d54c11c8cfeac4
tree4611b913f621bdcd2d186dd5abbd5f715d05d4fd
parent3cec9fd03543c1e2919f906353e5cba079ae0a7c
perf/x86: Remove swap_task_ctx()

The pmu specific data is saved in task_struct now. It doesn't need to
swap between context.

Remove swap_task_ctx() support.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250314172700.438923-6-kan.liang@linux.intel.com
arch/x86/events/core.c
arch/x86/events/intel/core.c
arch/x86/events/intel/lbr.c
arch/x86/events/perf_event.h