Re: [PATCH] Export irq tracepoints for use by kernel modules

2014-04-22 Thread Drew Richardson
On Tue, Apr 22, 2014 at 04:01:03PM +0100, Josh Boyer wrote: > On Tue, Apr 22, 2014 at 10:26 AM, Christoph Hellwig > wrote: > > On Tue, Apr 22, 2014 at 07:24:20AM -0700, Drew Richardson wrote: > >> After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint: > >> Use struct pointer instead

Re: [PATCH] Export irq tracepoints for use by kernel modules

2014-04-22 Thread Drew Richardson
On Tue, Apr 22, 2014 at 03:26:13PM +0100, Christoph Hellwig wrote: > On Tue, Apr 22, 2014 at 07:24:20AM -0700, Drew Richardson wrote: > > After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint: > > Use struct pointer instead of name hash for reg/unreg tracepoints"), > > any tracepoints

Re: [PATCH] Export irq tracepoints for use by kernel modules

2014-04-22 Thread Christoph Hellwig
On Tue, Apr 22, 2014 at 08:00:31AM -0700, Drew Richardson wrote: > Gator (http://git.linaro.org/arm/ds5/gator.git), an out of tree kernel > module, uses irq_handler_exit and softirq_exit. I thought it would be > helpful to export the other tracepoints from trace/events/irq.h in > case other users e

Re: [PATCH] Export irq tracepoints for use by kernel modules

2014-04-22 Thread Josh Boyer
On Tue, Apr 22, 2014 at 10:26 AM, Christoph Hellwig wrote: > On Tue, Apr 22, 2014 at 07:24:20AM -0700, Drew Richardson wrote: >> After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint: >> Use struct pointer instead of name hash for reg/unreg tracepoints"), >> any tracepoints used in a

Re: [PATCH] Export irq tracepoints for use by kernel modules

2014-04-22 Thread Christoph Hellwig
On Tue, Apr 22, 2014 at 07:24:20AM -0700, Drew Richardson wrote: > After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint: > Use struct pointer instead of name hash for reg/unreg tracepoints"), > any tracepoints used in a kernel module must be exported. How does this matter given that