Re: [PATCH] instrument softirq raising

[email protected] (Frank Ch. Eigler) Fri, 02 Nov 2007 14:06:02 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
>> This will allow the measuring of softirq latencies, and will make it easier to
>> follow critical paths from irq arrival to process wakeup. 
>> [...]
>>  inline fastcall void raise_softirq_irqoff(unsigned int nr)
>>  {
>> +	trace_mark(kernel_softirq_raise, "softirq %u", nr);
>> +
>>  	__raise_softirq_irqoff(nr);

It would probably be better to have instrumentation that marks both
the beginning and the end of a soft/hard irq handler.

- FChE