From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754121AbZHYH61 (ORCPT ); Tue, 25 Aug 2009 03:58:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753176AbZHYH61 (ORCPT ); Tue, 25 Aug 2009 03:58:27 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:59356 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887AbZHYH60 (ORCPT ); Tue, 25 Aug 2009 03:58:26 -0400 Date: Tue, 25 Aug 2009 09:58:16 +0200 From: Ingo Molnar To: Xiao Guangrong , Neil Horman Cc: Steven Rostedt , Frederic Weisbecker , Neil Horman , Wei Yongjun , David Miller , Netdev , LKML Subject: Re: [PATCH 1/2] trace_events: fix napi's tracepoint Message-ID: <20090825075816.GB857@elte.hu> References: <4A937EF5.4040505@cn.fujitsu.com> <4A93895F.4010708@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A93895F.4010708@cn.fujitsu.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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