* [ltt-dev] A problem in net instrumentation code of lttng-0.64
[not found] <da1db2080812082309rd7859e0ga36fe4828a85b362@mail.gmail.com>
@ 2008-12-09 16:07 ` Mathieu Desnoyers
2008-12-09 20:38 ` Neil Horman
0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Desnoyers @ 2008-12-09 16:07 UTC (permalink / raw)
* Sunzen Wang (sunzen at gmail.com) wrote:
> Hi Mathieu,
>
> I found a strange problem in net instrumentation code while scanning
> lttng instrumentation code via gitweb, and would like to inform you
> with the attached patch.
>
> Is it ok? If you have noticed it, just ignore it. If it is a not
> problem, please teach me.
>
> Thanks,
Hi Suzen,
Yes, the problem you identified must be fixed. I'll apply your patch
into the next LTTng release.
Mathieu
(your patch pasted here)
diff -Naru linux-2.6.27.8-lttng-0.64/net/core/dev.c linux-2.6.27.8-lttng-new/net/core/dev.c
--- linux-2.6.27.8-lttng-0.64/net/core/dev.c 2008-12-09 14:51:16.972757754 +0800
+++ linux-2.6.27.8-lttng-new/net/core/dev.c 2008-12-09 14:54:00.636758086 +0800
@@ -2336,7 +2336,7 @@
{
unsigned long flags;
- trace_net_napi_poll(n);
+ trace_net_napi_schedule(n);
local_irq_save(flags);
list_add_tail(&n->poll_list, &__get_cpu_var(softnet_data).poll_list);
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ltt-dev] A problem in net instrumentation code of lttng-0.64
2008-12-09 16:07 ` [ltt-dev] A problem in net instrumentation code of lttng-0.64 Mathieu Desnoyers
@ 2008-12-09 20:38 ` Neil Horman
0 siblings, 0 replies; 2+ messages in thread
From: Neil Horman @ 2008-12-09 20:38 UTC (permalink / raw)
On Tue, Dec 09, 2008 at 11:07:30AM -0500, Mathieu Desnoyers wrote:
> * Sunzen Wang (sunzen at gmail.com) wrote:
> > Hi Mathieu,
> >
> > I found a strange problem in net instrumentation code while scanning
> > lttng instrumentation code via gitweb, and would like to inform you
> > with the attached patch.
> >
> > Is it ok? If you have noticed it, just ignore it. If it is a not
> > problem, please teach me.
> >
> > Thanks,
>
> Hi Suzen,
>
> Yes, the problem you identified must be fixed. I'll apply your patch
> into the next LTTng release.
>
> Mathieu
>
> (your patch pasted here)
>
Apologies. That was a finger check on my part. I must have posted an unfixed
version of my patch rather than extracting from my git tree right before
posting. I'll double check that in the future.
Neil
>
> diff -Naru linux-2.6.27.8-lttng-0.64/net/core/dev.c linux-2.6.27.8-lttng-new/net/core/dev.c
> --- linux-2.6.27.8-lttng-0.64/net/core/dev.c 2008-12-09 14:51:16.972757754 +0800
> +++ linux-2.6.27.8-lttng-new/net/core/dev.c 2008-12-09 14:54:00.636758086 +0800
> @@ -2336,7 +2336,7 @@
> {
> unsigned long flags;
>
> - trace_net_napi_poll(n);
> + trace_net_napi_schedule(n);
>
> local_irq_save(flags);
> list_add_tail(&n->poll_list, &__get_cpu_var(softnet_data).poll_list);
> --
> Mathieu Desnoyers
> OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
>
--
/****************************************************
* Neil Horman <nhorman at tuxdriver.com>
* Software Engineer, Red Hat
****************************************************/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-09 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <da1db2080812082309rd7859e0ga36fe4828a85b362@mail.gmail.com>
2008-12-09 16:07 ` [ltt-dev] A problem in net instrumentation code of lttng-0.64 Mathieu Desnoyers
2008-12-09 20:38 ` Neil Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox