Re: [RFC PATCHSET] sched,perf: unify tracers in sched and move perfon top of TP

From: Avi Kivity
Date: Wed May 05 2010 - 08:35:09 EST


On 05/05/2010 02:38 PM, Peter Zijlstra wrote:
As it stands I'd argue to simply drop this whole idea. The SCHED_EVENT()
thing doesn't look like its worth the obfuscation and I'm very much
opposed to making perf and sched_notifiers rely on tracepoints.

We can make perf rely on sched_notifiers, I think it's exactly the same case as kvm - extra cpu state that needs switching at context switch time. We could also make fpu switching use sched_notifiers, but that's pushing it a bit.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/