[PATCH] instrument softirq raising
Pierre-Marc Fournier <[email protected]> Thu, 1 Nov 2007 18:20:32 -0400
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <1193955632-13079-3-git-send-email-pierre-marc.fournier@polymtl.ca> |
This will allow the measuring of softirq latencies, and will make it easier to follow critical paths from irq arrival to process wakeup. Signed-off-by: Pierre-Marc Fournier <[email protected]> --- kernel/softirq.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/softirq.c b/kernel/softirq.c index b1fc694..07344c9 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -325,6 +325,8 @@ void irq_exit(void) */ inline fastcall void raise_softirq_irqoff(unsigned int nr) { + trace_mark(kernel_softirq_raise, "softirq %u", nr); + __raise_softirq_irqoff(nr); /* -- 1.5.3.4