[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090827124713.GB4762@hmsreliant.think-freely.org>
Date: Thu, 27 Aug 2009 08:56:37 -0400
From: Neil Horman <nhorman@...driver.com>
To: Xiao Guangrong <xiaoguangrong@...fujitsu.com>
Cc: Ingo Molnar <mingo@...e.hu>, Steven Rostedt <rostedt@...dmis.org>,
Frederic Weisbecker <fweisbec@...il.com>,
David Miller <davem@...emloft.net>,
Wei Yongjun <yjwei@...fujitsu.com>,
LKML <linux-kernel@...r.kernel.org>,
Netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH 3/3] tracing/events: convert NAPI's tracepoint and fix
DEFINE_TRACE_FN
On Thu, Aug 27, 2009 at 06:49:38PM +0800, Xiao Guangrong wrote:
>
>
> Xiao Guangrong wrote:
> > References: <4A966288.8020402@...fujitsu.com>
> > In-Reply-To: <4A966288.8020402@...fujitsu.com>
> > Content-Type: text/plain; charset=UTF-8
> > Content-Transfer-Encoding: 7bit
> >
>
> It's look like my mail client has some problems, I'll check it and resend
> this mail. Sorry!
>
> Thanks,
> Xiao
>
Please do, thank you!
Neil
> > - Convert NAPI's tracepoint via TRACE_EVENT macro, the output information
> > like below:
> >
> > sshd-2503 [000] 71.920846: napi_poll: ifname=eth0 state=0 weigth=16 poll=pcnet32_poll
> > sshd-2503 [000] 72.020291: napi_poll: ifname=eth0 state=0 weigth=16 poll=pcnet32_poll
> > sshd-2503 [000] 72.020418: napi_poll: ifname=eth0 state=NAPI_STATE_SCHED weigth=16 poll=pcnet32_poll
> >
> > - Remove the "DECLARE_TRACE" definiens in include/trace/define_trace.h,
> > because TRACE_EVENT not use it
> >
> > - Undef DEFINE_TRACE_FN after TRACE_EVENT/TRACE_EVENT_FN expanded,
> > then we can include more TRACE_EVENT .h file in one .c file
> > (the .c file has defined CREATE_TRACE_POINTS)
> >
> > Signed-off-by: Xiao Guangrong <xiaoguangrong@...fujitsu.com>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists