Bart Muijzer
2005-Jul-15 07:01 UTC
[dtrace-discuss] Re: Debugging Linux binaries with Dtrace?
Hi Nils, all, I tried the ''FBT-trick'' suggested below by Nils and (of course :-) ) it works and gives me a pile of output. Good enough to show that indeed Linux application behavior is not totally opaque, good enough to for instance show that ''system call mapping'' is taking place. I wonder, is there any documentation available for lxsyscall module ? To learn what it can provide and how to interpret that? Thanks, >] Bartm [<>>Is it possible to use dtrace on Linux binaries when running those with Janus >>(LAE)? > Not really. The dtrace syscall provider does not interpose on the Linux > syscall handler and the PID provider doesn''t understand the Linux runtime > linker. > > That''s not to say that Linux application behavior is totally opaque. You > can get some indication of what an application is doing with the FBT > provider: > > # dtrace -x flowindent -n ''fbt:lxsyscall:: {}'' > > and then refine the probes from there. > > >>I have a simple demo where I fiddle around with xterm and gnome-terminal on >>S10 x86. When I do exactly the same using a gnome-terminal binary from >>Linux, dtrace just goes silent. As if nothing gets ''captured''. > > > What is it you are asking dtrace to probe? > > Nils-- Bart Muijzer Email: bart.muyzer at sun.com Solution Architect & OS Ambassador Tel: +31-33-4515218; Fax: +31-33-4515001 CS/Data Center & Data Mgt Practice SMS: bartm.gsm at gin.nl (subject only) Intranet: http://webhome.holland/bartm Sun Microsystems Nederland BV Internet: http://www.muijzer.com/