From mboxrd@z Thu Jan 1 00:00:00 1970 From: casmyu@gmail.com (Shouwei Li) Date: Mon, 13 Apr 2009 10:41:21 +0800 Subject: [ltt-dev] ltt-dev Digest, Vol 12, Issue 17 In-Reply-To: References: Message-ID: Hi, I have read many papers on the web site even plus some articles get from google, maybe for my foolish, I have not known how to trace a private program till now. My setps is like this: 1. open the lttv-gui, then start to trace 2. I run a program which written by myself. 3. after the program stop, I stop the lttv trace 4. then check the report generated by lttv But every time, what I say are all the system process. such as init, su, bash, sshd, vsftpd and so on. I can not find any information about my own process. Please tell me what is my mistake. why I can not see my private program's information. If possible, please supply a document about how to trace a private program to me. Thank you very much! On Mon, Apr 13, 2009 at 12:00 AM, wrote: > Send ltt-dev mailing list submissions to > ltt-dev at lists.casi.polymtl.ca > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > or, via email, send a message with subject or body 'help' to > ltt-dev-request at lists.casi.polymtl.ca > > You can reach the person managing the list at > ltt-dev-owner at lists.casi.polymtl.ca > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ltt-dev digest..." > > > Today's Topics: > > 1. ltt used in network IO tracing under the environment of KVM? (??) > 2. Re: Run lttv-gui error (Mathieu Desnoyers) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 9 Apr 2009 16:32:06 +0800 > From: ?? > To: ltt-dev at lists.casi.polymtl.ca > Subject: [ltt-dev] ltt used in network IO tracing under the > environment of KVM? > Message-ID: > <9f49f7820904090132m1edf65d3n1bf13f8fcdf1b73b at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all: > I am a newbie in ltt, and I am wondering whether ltt can be used to trace > the network I/O under the environment of KVM(Kernel based Virtual > Machine)? What I want to know exactly is the ingressing path of a packet > from the host linux kernel to the guest os. > Any ideas? > Thank you very much! > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20090409/da7b0d82/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sat, 11 Apr 2009 21:40:42 -0400 > From: Mathieu Desnoyers > To: Shouwei Li > Cc: ltt-dev at lists.casi.polymtl.ca > Subject: Re: [ltt-dev] Run lttv-gui error > Message-ID: <20090412014042.GA5822 at Krystal> > Content-Type: text/plain; charset=us-ascii > > * Shouwei Li (casmyu at gmail.com) wrote: > > My OS is debian 5.0, so I think su command is avaiable. I have compile > > the kernel, lttng to the latest version, so I can make sure that no > > compatibility problem. > > > > You, it will show all the system calls done by the processes you are > > interested into. > > By you I meant "Yes", sorry. > > > > ---------------------------------------------------------------------------------------------------- > > Where I can get some documents about this topics. > > > > See the LTTng Manual on the lttng.org website, and the papers published > on this same website. > > Mathieu > > > Thank you very much! ^_^ > > > > On 4/11/09, Mathieu Desnoyers wrote: > > > * Shouwei Li (casmyu at gmail.com) wrote: > > >> Hello, friends: > > >> I login OS with root account. then I run lttv-gui like this: > > >> [root][~]# export DISPLAY=192.168.153.1:0.0 > > >> [root][~]# lttv-gui > > >> I have opend xmanager(passive), then the GUI pop up. > > >> Then I click the Insert Tracing Control Module button(The traffic > > >> light), after input the root passwd, I click start button, but an > > >> error message box pop up, the error message is "A problem occured when > > >> executing the su command : Operation not permitted". Please tell me > > >> why and how to solve this problem. > > > > > > If you are on ubuntu, su is disabled. You would have to figure out how > > > to reenable it using their documentation. Or you can use the lttctl > > > command directly to control tracing instead, as stated in the > > > documentation. > > > > > > Also make sure your > > > lttv > > > ltt-control > > > lttng > > > > > > versions follow the compatibility list on the lttng.org website. > > > > > >> One more question: I want to monitor a program which executed from > > >> bash, all the processes of this program execute. Include from bash to > > >> execv, how the dynamic loader loaded the elf file and the other > > >> libraries and so on. Does lttv can be competent for this work? > > >> Thank you very much! > > > > > > You, it will show all the system calls done by the processes you are > > > interested into. > > > > > > Mathieu > > > > > >> -- > > >> Best Regards! > > >> Shouwei Li > > >> > > >> _______________________________________________ > > >> ltt-dev mailing list > > >> ltt-dev at lists.casi.polymtl.ca > > >> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > > >> > > > > > > -- > > > Mathieu Desnoyers > > > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE > 9A68 > > > > > > > > > -- > > Best Regards! > > Shouwei Li > > > > -- > Mathieu Desnoyers > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 > > > > ------------------------------ > > _______________________________________________ > ltt-dev mailing list > ltt-dev at lists.casi.polymtl.ca > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev > > > End of ltt-dev Digest, Vol 12, Issue 17 > *************************************** > -- Best Regards! Shouwei Li -------------- next part -------------- An HTML attachment was scrubbed... URL: