Re: trace/events: DECLARE vs DEFINE semantic

From: H. Peter Anvin
Date: Wed Dec 02 2009 - 18:18:55 EST


On 12/02/2009 03:13 PM, Steven Rostedt wrote:
>
> So, would you think:
>
> TRACE_CLASS - Declare a class
> TRACE_EVENT - defines an event for said class (different meaning than before)
> TRACE_CLASS_EVENT - Declares a class and an event
>
> is the better naming?
>

Minus the legacy issue, yes.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/