On Tue, Mar 28, 2017 at 07:35:38AM +0100, Dietmar Eggemann wrote: > > + if (cfs_rq) > + trace_sched_load_cfs_rq(cfs_rq);
You can do that with DEFINE_EVENT_CONDITION and TP_CONDITION.
On Tue, Mar 28, 2017 at 07:35:38AM +0100, Dietmar Eggemann wrote: > > + if (cfs_rq) > + trace_sched_load_cfs_rq(cfs_rq);
You can do that with DEFINE_EVENT_CONDITION and TP_CONDITION.