Re: [PATCH 1/2] trace_evetns: fix napi's tracepoint

From: Xiao Guangrong
Date: Tue Aug 25 2009 - 02:46:02 EST




Xiao Guangrong wrote:
> Currently, the napi's tracepoint works will is depend on
> "DECLARE_TRACE" definiens in include/trace/define_trace.h,
> like below:
>
> #include <trace/events/skb.h> // include define_trace.h
> #include <trace/events/napi.h>
>
> there have error, if we remove "#include <trace/events/skb.h>"
> or include napi.h in the front of include skb.h, It should
> depend on the definiens in include/linux/tracepoint.h and we
> can remove the "DECLARE_TRACE" definiens in
> include/trace/define_trace.h, because "TRACE_EVENT" not use it
>
> Signed-off-by: Xiao Guangrong <xiaoguangrong@xxxxxxxxxxxxxx>

Sorry for forget to CC David Miller and netdev@xxxxxxxxxxxxxxx, also
mistype the title: trace_evetns -> trace_events, please ignore this mail
and I'll resend it soon
--
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/