Re: [RFC PATCH 2/5] sched/events: Introduce cfs_rq load tracking trace event

From: Steven Rostedt
Date: Tue Mar 28 2017 - 13:38:21 EST


On Tue, 28 Mar 2017 13:36:26 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> But why play games, and rely on the design of the code? A
> TRACE_EVENT_CONDTION() is more robust and documents that this
> tracepoint should not be called when cfs_rq is NULL.

In other words, what are you trying to save for not using the
TRACE_EVENT_CONDITION()?

-- Steve