perf/core: Remove 'struct sched_in_data'
authorPeter Zijlstra <peterz@infradead.org>
Wed, 7 Aug 2019 09:45:01 +0000 (11:45 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 6 Mar 2020 10:56:58 +0000 (11:56 +0100)
commit2c2366c7548ecee65adfd264517ddf50f9e2d029
treedede9e3fc549abd9b799cc95858b5470901bf412
parentab6f824cfdf7363b5e529621cbc72ae6519c78d1
perf/core: Remove 'struct sched_in_data'

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>
kernel/events/core.c