Re: LTTng usage issue

Mathieu Desnoyers <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Message-ID <20070719153000.GA12955@Krystal>
Have you issued:

# lttctl -n trace -R

to stop tracing and flush subbuffers ?

Also, can you give the dmesg output ?

When you take the trace, can you give me an output of "ps aux" ?

Mathieu

* Srinivasa Reddy ([email protected]) wrote:
> Hi,
> 
> This is Srinivas. I am also working on the same project.
> 
> I have give that command as you said and the result is like given below:
> 
> /tmp/foo # ls -aR1
> .:
> .
> ..
> eventdefs
> 
> ./eventdefs:
> .
> ..
> compact.xml
> core.xml
> fs.xml
> fs_data.xml
> ipc.xml
> kernel.xml
> kernel_arch_arm.xml
> kernel_arch_c2.xml
> kernel_arch_i386.xml
> kernel_arch_mips.xml
> kernel_arch_powerpc.xml
> kernel_arch_ppc.xml
> kernel_arch_x86_64.xml
> list.xml
> locking.xml
> memory.xml
> mm.xml
> net.xml
> network.xml
> network_ip_interface.xml
> process.xml
> socket.xml
> stack.xml
> stack_arch_i386.xml
> stack_arch_x86_64.xml
> statedump.xml
> timer.xml
> user_generic.xml
> xen.xml
> /tmp/foo #
> 
> 
> Please let me know why it's not generating the other trace information.
> 
> Regards,
> Srinivas.
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Mathieu Desnoyers
> Sent: Thursday, July 19, 2007 6:30 PM
> To: Raghavendra Rao
> Cc: [email protected]
> Subject: Re: [Ltt-dev] LTTng usage issue
> 
> * Raghavendra Rao ([email protected]) wrote:
> > Hi all
> >  
> > I am new to lttng/ltt. I am facing problems using lttng while
> generating
> > the trace information.
> > The version details of lttng, OS etc are given below:
> >  
> > problem:
> > ===========
> > OS : 2.6.19
> >  
> > Ltnng : 0.6.47
> >  
> > Ltt-control : 0.32
> >  
> >  
> > Steps followed:
> > ================
> > 1. started the trace as follows:
> >  
> > $ lttctl -n trace -d -l /mnt/debugfs/ltt -t /tmp/trace
> >  
> > Linux Trace Toolkit Trace Control 0.32-05122006
> >  
> > Controlling trace : trace
> >  
> > Ltt_control : trace trace
> > Linux Trace Toolkit Trace Daemon 0.32-05122006
> >  
> > Reading from debugfs directory : /mnt/debugfs/ltt/trace
> > Writing to trace directory : /tmp/trace
> >  
> > Creating supplementary trace files
> > Appending facility file kernel_arch_ppc.xml
> > Appending facility file kernel_arch_i386.xml
> > Appending facility file compact.xml
> > Appending facility file fs.xml
> > Appending facility file locking.xml
> > Appending facility file list.xml
> > Appending facility file core.xml
> > Appending facility file kernel_arch_x86_64.xml
> > Appending facility file stack.xml
> > Appending facility file kernel_arch_powerpc.xml
> > Appending facility file process.xml
> > Appending facility file kernel.xml
> > Appending facility file kernel_arch_arm.xml
> > Appending facility file kernel_arch_c2.xml
> > Appending facility file user_generic.xml
> > Appending facility file fs_data.xml
> > Appending facility file ipc.xml
> > Appending facility file net.xml
> > Appending facility file statedump.xml
> > Appending facility file mm.xml
> > Appending facility file stack_arch_i386.xml
> > Appending facility file memory.xml
> > Appending facility file xen.xml
> > Appending facility file stack_arch_x86_64.xml
> > Appending facility file timer.xml
> > Appending facility file network.xml
> > Appending facility file socket.xml
> > Appending facility file network_ip_interface.xml
> > Appending facility file kernel_arch_mips.xml
> > ltt_control : trace trace
> >  
> > ~# 
> >  
> > And it's coming out here..
> >  
> > It's not generating any info and control information with folder
> > structure which is given in 
> >  
> > http://ltt.polymtl.ca/svn/ltt/branches/poly/doc/developer/format.html
> >  
> > So where am I doing wrong?
> >  
> > I would really appreciate any help/pointers in this regard
> > 
> 
> There may be some unimplemented features.. can you give us a ls -aRl of
> your trace directory ?
> 
> 
> 
> >  
> > 
> > Thanks and regards
> > 
> > Raghavendra.
> > 
> 
> > _______________________________________________
> > 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.