summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-multitouch.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2024-08-07 14:29:29 +0300
committerPeter Zijlstra <peterz@infradead.org>2024-08-08 13:27:32 +0300
commit3e15a3fe3a2a170c5be52783667706875c088f96 (patch)
tree36dbbeedbb73c687d696efce89f12ac6d7c7000e /drivers/hid/hid-multitouch.c
parent5d95a2af973d47260b1e1828953fc860c0094052 (diff)
downloadlinux-3e15a3fe3a2a170c5be52783667706875c088f96.tar.xz
perf: Optimize __pmu_ctx_sched_out()
There is is no point in doing the perf_pmu_disable() dance just to do nothing. This happens for ctx_sched_out(.type = EVENT_TIME) for instance. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240807115550.392851915@infradead.org
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
0 files changed, 0 insertions, 0 deletions