]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
perf/core: Remove 'struct sched_in_data'
authorPeter Zijlstra <peterz@infradead.org>
Wed, 7 Aug 2019 09:45:01 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 14:13:48 +0000 (16:13 +0200)
commit0678087c6134e2d7ded9b26780ed68759bb0fc6d
treea021041557c601ed0d06cfc7b68e0fdafdcc9ec7
parent7af133a2d686578c3dcb94ad8a10ec47a4771853
perf/core: Remove 'struct sched_in_data'

[ Upstream commit 2c2366c7548ecee65adfd264517ddf50f9e2d029 ]

We can deduce the ctx and cpuctx from the event, no need to pass them
along. Remove the structure and pass in can_add_hw directly.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/events/core.c