Re: [PATCH v2 0/6] Add tracepoints to trace all system IRQs

From: Peter Zijlstra
Date: Thu Jul 28 2011 - 09:23:54 EST


On Thu, 2011-07-28 at 15:09 +0200, Frederic Weisbecker wrote:
> On Thu, Jul 28, 2011 at 02:53:52PM +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.
> >
> > Yeah so, he needs to touch arch code anyway.
>
> He needs to touch arch code for pure arch interrupts or some cases
> where we don't have the choice. But otherwise there are many
> cases where we can put that in the generic code.

Which I just pointed out you can't, some 'generic' handlers are in fact
multiplexed on a single arch interrupt. If you want all interrupts, use
pure arch hooks at the lowest level and stop mucking about.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/