[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110728140808.GG11820@somewhere.redhat.com>
Date: Thu, 28 Jul 2011 16:08:10 +0200
From: Frederic Weisbecker <fweisbec@...il.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Vaibhav Nagarnaik <vnagarnaik@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>,
Michael Rubin <mrubin@...gle.com>,
David Sharp <dhsharp@...gle.com>, linux-kernel@...r.kernel.org,
x86@...nel.org
Subject: Re: [PATCH v2 0/6] Add tracepoints to trace all system IRQs
On Thu, Jul 28, 2011 at 04:10:04PM +0200, Peter Zijlstra wrote:
> On Thu, 2011-07-28 at 14:31 +0200, Frederic Weisbecker wrote:
> >
> > Because that requires to put the tracepoints in every interrupt sources
> > for every archs instead of putting one in the generic space.
>
> To sum up from IRC, yes that's exactly what you need to do, because this
> patch set assumes two things:
>
> 1) that there is a 1:1 mapping between interrupt sources and generic
> handlers, and
>
> 2) that there is a neglectable amount of arch specific code for each
> generic handler.
>
> Both are false in generic. Therefore there is no option but to
> instrument each and every arch specific interrupt handler.
>
> Also, please use a single tracepoint for all that instead of this horrid
> forest of random crap. Use something like arch_interrupt_enter(line_nr),
> arch_interrupt_exit(line_nr).
Right, so I guess the first iteration of the patchset was good in fact.
--
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