From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>,
Jiri Olsa <jolsa@redhat.com>,
acme@redhat.com, eric.dumazet@gmail.com, a.p.zijlstra@chello.nl,
paulus@samba.org, linux-kernel@vger.kernel.org,
nhorman@tuxdriver.com
Subject: Re: [PATCHv2 1/2] perf tools: Collect tracing event data files directly
Date: Mon, 10 Oct 2011 07:22:59 +0200 [thread overview]
Message-ID: <20111010052259.GC32173@elte.hu> (raw)
In-Reply-To: <1317229825.4588.12.camel@gandalf.stny.rr.com>
* Steven Rostedt <rostedt@goodmis.org> wrote:
> Good to see your email is back :)
>
>
> On Wed, 2011-09-28 at 18:56 +0200, Ingo Molnar wrote:
> > * Frederic Weisbecker <fweisbec@gmail.com> wrote:
> >
> > > > > But it seems Steve's patches are not completely uncontroversial
> > > > > because of some crazy disagreements on where the
> > > > > libparsevent.so should lay (tools generic or tied to perf).
> > > >
> > > > Which to me seems to be a silly road block, in which I never got
> > > > a clear answer for.
> > >
> > > Yeah we need to sort that out with Ingo.
> >
> > Basically, since it's not at all clear to me where these things (and
> > APIs) will go, I'd be much more comfortable with this starting out as
> > tools/perf/lib/ - we can still split it out later on. Merging it in
> > will be a lot harder.
>
> I would actually argue that merging is much easier than splitting
> something up. [...]
Technically it's somewhat easier - socially, not.
> [...] If A depends on B, merging B back into A is trivial. But if B
> is a part of A, breaking it out of A is a much more difficult task,
> as the boundaries of A and B are not so easy to find and the
> coupling of the two is much tighter.
That's a technical problem. In reality we can split up and merge
projects of very significant size just fine. I've done split-ups and
factorings-out from millions of lines of code impact. tools/perf is
still well within such size boundaries.
> I find trying to break things out of perf is very hard to do as the
> dependencies are throughout all of perf, and no one seems to agree
> on how to do so.
Then it would be absolute madness to make that non-agreement external
and hard-code a separate social structure for it!
Libraries are for *boring* infrastructure stuff *everyone agrees on*.
They are absolutely lousy arbitrators of technical disagreement and
if there's a serious disagreement they can easily become an absolute
nightmare socially and a technical distraction. How difficult is this
to understand?
Please work out disagreements with Arnaldo and do librarization
within perf if you are interested in that angle. If those internal
interfaces become visibly boring and are consistently used by
everything in a way that every main contributor agrees on then we can
perhaps librarize it. Not the other way around.
Thanks,
Ingo
next prev parent reply other threads:[~2011-10-10 5:24 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 14:23 [PATCH] perf, tool, record: Fix the header generation for pipe Jiri Olsa
2011-08-22 14:38 ` Eric Dumazet
2011-08-22 14:52 ` Jiri Olsa
2011-08-22 15:51 ` Eric Dumazet
2011-08-22 16:07 ` Jiri Olsa
2011-08-29 13:20 ` Arnaldo Carvalho de Melo
2011-08-29 13:41 ` Jiri Olsa
2011-08-29 14:25 ` Arnaldo Carvalho de Melo
2011-09-14 13:58 ` [PATCH] perf tools: Fix tracing info recording Jiri Olsa
2011-09-14 15:44 ` Neil Horman
2011-09-21 15:30 ` Frederic Weisbecker
2011-09-25 13:34 ` Jiri Olsa
2011-09-26 9:11 ` [PATCHv2 1/2] " Jiri Olsa
2011-09-26 9:11 ` [PATCHv2 1/2] perf tools: Collect tracing event data files directly Jiri Olsa
2011-09-26 13:36 ` Steven Rostedt
2011-09-26 14:56 ` Jiri Olsa
2011-09-28 13:55 ` Frederic Weisbecker
2011-09-28 14:03 ` Steven Rostedt
2011-09-28 14:17 ` Frederic Weisbecker
2011-09-28 14:23 ` Steven Rostedt
2011-09-28 16:56 ` Ingo Molnar
2011-09-28 17:10 ` Steven Rostedt
2011-10-10 5:22 ` Ingo Molnar [this message]
2011-10-10 12:27 ` Steven Rostedt
2011-10-10 14:21 ` Frederic Weisbecker
2011-09-26 13:43 ` David Ahern
2011-09-26 14:58 ` Jiri Olsa
2011-09-26 9:11 ` [PATCHv2 2/2] perf tools: Fix tracing info recording Jiri Olsa
2011-09-29 15:05 ` [PATCHv3 0/2] " Jiri Olsa
2011-09-29 15:05 ` [PATCHv3 1/2] perf tools: Fix raw sample reading Jiri Olsa
2011-09-29 15:34 ` David Ahern
2011-09-29 15:05 ` [PATCHv3 2/2] perf tools: Fix tracing info recording Jiri Olsa
2011-10-13 14:00 ` Jiri Olsa
2011-10-20 13:59 ` [PATCHv4] " Jiri Olsa
2011-10-20 21:28 ` Arnaldo Carvalho de Melo
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=20111010052259.GC32173@elte.hu \
--to=mingo@elte.hu \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=eric.dumazet@gmail.com \
--cc=fweisbec@gmail.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=paulus@samba.org \
--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.