lkml.org 
[lkml]   [2011]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 0/6] Add tracepoints to trace all system IRQs
From
Date
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).





\
 
 \ /
  Last update: 2011-07-28 16:07    [W:0.094 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site