Re: [PATCH] export softirq_to_name symbol

From: Josh Stone
Date: Fri May 01 2009 - 16:08:07 EST


On 05/01/2009 12:50 PM, Christoph Hellwig wrote:
> On Fri, May 01, 2009 at 03:30:22PM -0400, Jason Baron wrote:
>> hi,
>>
>> In response to a user request:
>>
>>
>> Export 'softirq_to_name' so that modules using the softirq tracepoints
>> can resolve the # to a name.
>
> Please submit it together with the module that uses it.

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.

Thanks,

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