From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: [PATCH 1/2] trace_events: fix napi's tracepoint Date: Tue, 25 Aug 2009 06:57:07 -0400 Message-ID: <20090825105707.GA24710@hmsreliant.think-freely.org> References: <4A937EF5.4040505@cn.fujitsu.com> <4A93895F.4010708@cn.fujitsu.com> <20090825075816.GB857@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Xiao Guangrong , Steven Rostedt , Frederic Weisbecker , Wei Yongjun , David Miller , Netdev , LKML To: Ingo Molnar Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:48939 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754237AbZHYK5U (ORCPT ); Tue, 25 Aug 2009 06:57:20 -0400 Content-Disposition: inline In-Reply-To: <20090825075816.GB857@elte.hu> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Aug 25, 2009 at 09:58:16AM +0200, Ingo Molnar wrote: > > * 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 // include define_trace.h > > #include > > > > there have error, if we remove "#include " > > 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 > > --- > > include/trace/define_trace.h | 4 ---- > > net/core/net-traces.c | 4 +++- > > 2 files changed, 3 insertions(+), 5 deletions(-) > > This will collide with tracing bits in the networking tree. The > skb-tracing plugin there should be turned into proper TRACE_EVENT() > tracepoints. > > Neil was away for some time but i think soon we should see some > movement here. > > Ingo > Thank you Ingo, yes, I'm back from the beach now and will look at this shortly. I concur, we should just convert the napi_poll tracepoint to be defined via the TRACE_EVENT macro, same as the kfree_skb tracepoint. Xaio would you like to take care of that, or shall I? Best Neil