Re: [PATCH 2/4] x86/pvops: target CREATE_TRACE_POINTS to particular subsystems

Jeremy Fitzhardinge
2009-04-17T16:48:52Z

Steven Rostedt wrote:
> Ah yes! It needs to be:
>
> #ifdef CONFIG_IRQ_TRACE_POINTS
> #undef CONFIG_IRQ_TRACE_POINTS
> #include <trace/define_trace.h>
> #endif
>
> Otherwise we get into the recursion again.
>

We should probably also move the #define TRACE_SYS in there as well
(without the #undef), as it should only have one definition at a time...

J