Re: [PATCH] export softirq_to_name symbol

From: Christoph Hellwig
Date: Fri May 01 2009 - 16:10:48 EST


On Fri, May 01, 2009 at 01:07:34PM -0700, Josh Stone wrote:
> I'm adding SystemTap support for the format strings in the TRACE_EVENT
> macros. The softirq's TP_fast_assign uses softirq_to_name, and so that
> array is needed to prepare the softirq's trace string.
>
> So, there's no explicit reference to the symbol in SystemTap -- it's
> just indirectly referenced by the tracepoint declaration.

TP_fast_assign should only be called by core code, it's the piece that
copies the trace into the ring buffer. If systemtap copies events into
the ring buffer from modular code something is deeply wrong in it's
design.

--
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/