Re: [PATCH] instrument softirq raising
Mathieu Desnoyers <[email protected]> Thu, 1 Nov 2007 22:33:39 -0400
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <20071102023339.GC29356@Krystal> |
merged. * Pierre-Marc Fournier ([email protected]) wrote: > 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 > -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68