From: Ingo Molnar <mingo@elte.hu>
To: Christoph Hellwig <hch@infradead.org>
Cc: Steven Whitehouse <swhiteho@redhat.com>,
Jason Baron <jbaron@redhat.com>,
cluster-devel@redhat.com, linux-kernel@vger.kernel.org,
rostedt@goodmis.org
Subject: Re: move gfs2 tracepoints to inclue/trace/events dir
Date: Sun, 25 Oct 2009 17:29:13 +0100 [thread overview]
Message-ID: <20091025162913.GC20391@elte.hu> (raw)
In-Reply-To: <20091025075037.GD9482@infradead.org>
* Christoph Hellwig <hch@infradead.org> wrote:
> On Mon, Oct 12, 2009 at 12:00:37PM +0200, Ingo Molnar wrote:
>
> > yeah. I have no objection to adding it to include/trace/.
> > Tracepoints are a fundamentally global business.
> >
> > Subsystems can opt to hide their tracepoints locally, but it's
> > better to have a global view about what's out there, so that it can
> > be extended coherently, etc.
>
> We're lacking quite a bit coherence even with it. The originally
> reason why there were global was that the infrastructure couldn't cope
> with having the either in modules or elsewhere in the source tree at
> all.
>
> We have managed to avoid global directories for drivers/filesystems
> for as much as we can lately. Having everything in a directory makes
> sure it's self-contained and people don't use it accidentally from
> other modules, which also applies to trace events - we don't want
> people accidentally use gfs2 tracepoints from a driver (and if you
> think that's far fetched look at the recent example of a driver using
> debugging macros from the networking code that got pulled in
> accidentally somewhere).
Tracepoints are closer to documentation than to filesystem
functionality. And you are wrong when you say that everything related to
filesystems is 'modular' - we have all documentation concentrated in
Documentation/filesystems/ - and that is good so.
Just like we have library functions for filesystems concentrated in
fs/*.c.
I think you are looking at it way too rigidly without considering the
other side of the equation. Modularity has its costs: it hides details
and makes it harder to compare implementations.
Ingo
next prev parent reply other threads:[~2009-10-25 16:29 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-09 16:01 move gfs2 tracepoints to inclue/trace/events dir Jason Baron
2009-10-09 16:05 ` [Cluster-devel] " Steven Whitehouse
2009-10-09 16:05 ` Steven Whitehouse
2009-10-09 16:05 ` [Cluster-devel] " Steven Whitehouse
2009-10-09 16:20 ` Jason Baron
2009-10-09 16:28 ` [Cluster-devel] " Steven Whitehouse
2009-10-09 16:28 ` Steven Whitehouse
2009-10-09 16:28 ` [Cluster-devel] " Steven Whitehouse
2009-10-09 23:45 ` Christoph Hellwig
2009-10-09 23:45 ` Christoph Hellwig
2009-10-12 9:43 ` [Cluster-devel] " Steven Whitehouse
2009-10-12 9:43 ` Steven Whitehouse
2009-10-12 10:00 ` Ingo Molnar
2009-10-12 10:16 ` [Cluster-devel] " Steven Whitehouse
2009-10-12 10:16 ` Steven Whitehouse
2009-10-25 7:50 ` [Cluster-devel] " Christoph Hellwig
2009-10-25 7:50 ` Christoph Hellwig
2009-10-25 16:29 ` Ingo Molnar [this message]
2009-10-12 10:09 ` 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=20091025162913.GC20391@elte.hu \
--to=mingo@elte.hu \
--cc=cluster-devel@redhat.com \
--cc=hch@infradead.org \
--cc=jbaron@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=swhiteho@redhat.com \
/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.