Re: LTTng 0.10.0-pre32

Mathieu Desnoyers <[email protected]> Fri, 23 Nov 2007 17:56:21 -0500
Newsgroups gmane.linux.kernel.tracing
Message-ID <20071123225621.GA17455@Krystal>
* Mathieu Desnoyers ([email protected]) wrote:
> * Mathieu Desnoyers ([email protected]) wrote:
> > Hi,
> > 
> > These new versions are fixing :
> > - Missing APIC interrupts on x86, x86_64
> > - Problem with new scheduler analysis in lttv : now fixes wrong
> >   process_free hooks.
> > 
> pre31 fixes x86_64 instrumentation.
> 

pre32 makes sure that the kernel_irq_entry event always have the same
format strings in x86_64 architecture APIC irq instrumentation. When the
"kernel_mode" argument is unknown due to pt_regs not being passed on the
stack, set the kernel_mode parameter to -1.

I prefer not to use task_pt_regs(current) in these handlers, because it
could become a problem if there is no current task yet (at boot time)
and we enter in these interrupt handlers.

Mathieu

> > These version are breaking compatibility with old LTTV (the internal
> > kernel defines for process exit state changed around 2.6.24, so we
> > cannot be backward compatible).
> > 
> > Mathieu
> > -- 
> > Mathieu Desnoyers
> > Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
> > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
> > _______________________________________________
> > Ltt-dev mailing list
> > [email protected]
> > http://listserv.shafik.org/mailman/listinfo/ltt-dev
> > 
> 
> -- 
> Mathieu Desnoyers
> Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
> OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
> _______________________________________________
> Ltt-dev mailing list
> [email protected]
> http://listserv.shafik.org/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68