Re: Fix x86_64 TIF_SYSCALL_TRACE race in entry.S

Mathieu Desnoyers <[email protected]> Mon, 29 Oct 2007 07:57:07 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <20071029115707.GC12137@Krystal>
* Andy Howell ([email protected]) wrote:
> Mathieu Desnoyers wrote:
> > (please tell me if it works better with this. It does for me.)
> > 
> > Fix x86_64 TIF_SYSCALL_TRACE race in entry.S
> > 
> 
> Mathieu,
> 
> 	Thanks. I'm now able to generate a trace. Unfortunately the gui and 
> batch mode of lttv core dump. According to
> http://ltt.polymtl.ca/svn/ltt/branches/poly/doc/developer/lttng-lttv-compatibility.html
> the correct version lttv-0.10.pre1-15102007
> 
> I tried to do it in batch mode:
> 
> lttv.real -m textDump -d -t /tmp/trace2
> 
> I get a core dump and message saying:
> 
> 
> ** (process:2777): WARNING **: No marker of name
> kernel_arch_syscall_entry found
> 
> (process:2777): GLib-CRITICAL **: g_array_remove_range: assertion
> `index_ < array->len' failed
> 
> ** (process:2777): WARNING **: No marker of name kernel_arch_trap_entry
> found
> 
> Something I did wrong?
> 

Don't forget to enable the markers before tracing by running :

ltt-armall

Mathieu

> Thanks,
> 
> 	Andy
> 
> 
> _______________________________________________
> 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