From: Ingo Molnar <mingo@elte.hu>
To: David Miller <davem@davemloft.net>
Cc: randy.dunlap@oracle.com, linux-kernel@vger.kernel.org,
linux-next@vger.kernel.org, akpm@linux-foundation.org,
nhorman@tuxdriver.com, rostedt@goodmis.org
Subject: Re: [PATCH -next] trace_skb: fix build when CONFIG_NET is not enabled
Date: Tue, 18 Aug 2009 01:00:32 +0200 [thread overview]
Message-ID: <20090817230032.GA16222@elte.hu> (raw)
In-Reply-To: <20090817224727.GA13795@elte.hu>
* Ingo Molnar <mingo@elte.hu> wrote:
>
> * David Miller <davem@davemloft.net> wrote:
>
> > From: Ingo Molnar <mingo@elte.hu>
> > Date: Mon, 17 Aug 2009 23:58:08 +0200
> >
> > >> --- linux-next-20090817.orig/kernel/trace/Kconfig
> > >> +++ linux-next-20090817/kernel/trace/Kconfig
> > >> @@ -236,6 +236,7 @@ config BOOT_TRACER
> > >>
> > >> config SKB_SOURCES_TRACER
> > >> bool "Trace skb source information"
> > >> + depends on NET
> > >> select GENERIC_TRACER
> > >> help
> > >> This tracer helps developers/sysadmins correlate skb allocation and
> > >
> > > Hm, there's nothing like this in the tracing tree.
> > >
> > > Could we please move kernel/trace/* commits to the tracing tree, so
> > > that it gets adequate testing and review, etc?
> >
> > This one (like previous networking tracing changes Neil has made)
> > touched a decent amount of networking code, and thus we
> > integrated it into net-next-2.6
>
> the three skb-sources-tracer patches i saw submitted were:
>
> include/trace/events/skb.h | 20 ++++++++++++++++++++
> net/core/datagram.c | 3 +++
> 2 files changed, 23 insertions(+)
>
> kernel/traceKconfig | 10 ++++++++++
>
> kernel/trace/Makefile | 1
> kernel/trace/trace.h | 19 ++++++
> kernel/trace/trace_skb_sources.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> only touched the networking code for 3 lines in
> net/core/datagram.c.
>
> Think about it: how would you react if i added a new file to
> net/core/ and modified net/Kconfig, and then broke the build?
> You'd quite likely insist on it being done via net-next-2.6,
> right? You'd also likely be upset about that kind of change,
> wouldnt you?
>
> Also, has the review feedback from the tracing folks been
> addressed? Please separate these patches out and lets do this
> properly, this approach is not acceptable.
btw., this isnt just a question of patch logistics - these patches
look unreviewed to me. Why is a new ftrace plugin needed? Why arent
they defined in a TRACE_EVENT() form? That way they'd be generally
usable together with other tracepoints, and would likely be enabled
in most distros. That way they could also be added via other trees,
as TRACE_EVENT() is a generic facility.
We try to migrate ftrace plugins to TRACE_EVENT() tracepoints.
Ingo
next prev parent reply other threads:[~2009-08-17 23:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-17 20:37 [PATCH -next] trace_skb: fix build when CONFIG_NET is not enabled Randy Dunlap
2009-08-17 21:58 ` Ingo Molnar
2009-08-17 22:33 ` David Miller
2009-08-17 22:47 ` Ingo Molnar
2009-08-17 22:59 ` David Miller
2009-08-17 23:03 ` Ingo Molnar
2009-08-17 23:00 ` Ingo Molnar [this message]
2009-08-17 23:00 ` David Miller
2009-08-17 23:06 ` Ingo Molnar
2009-08-18 0:03 ` David Miller
2009-08-18 12:13 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090817230032.GA16222@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=randy.dunlap@oracle.com \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.