]> 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:12:19 +0000 (16:12 +0200)
commit90b9ab5629e9fab6c1620a4075adbf43d8507709
tree9a065d3969d733ef538bbcbad41091161ddc4bd8
parent22e3151be1aa0975c4074a5f2ac67f6f611b19fa
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