From mboxrd@z Thu Jan 1 00:00:00 1970 From: soumyakanti.chakraborty@gmail.com (soumyakanti chakraborty) Date: Fri, 26 Feb 2010 02:55:29 +0100 Subject: [ltt-dev] UST - Problems in recording trace on a current process In-Reply-To: <4B83F111.3080900@polymtl.ca> References: <19fa8ef31002081349v36a13174m1a031048048fd45c@mail.gmail.com> <19fa8ef31002100853n189221f3u3015c85afc65db5c@mail.gmail.com> <201002101515.49624.pierre-marc.fournier@polymtl.ca> <19fa8ef31002101408l3b5eb66bnc062c2785910d63e@mail.gmail.com> <4B7D7D18.6070502@polymtl.ca> <19fa8ef31002181458x65331cc8v77040cd8f5ec4c65@mail.gmail.com> <4B7EC168.3050208@polymtl.ca> <19fa8ef31002190915n3deb0ecdy3c2196965523f6b4@mail.gmail.com> <76cdca01002211646w5258316cj3345e2685f58f638@mail.gmail.com> <4B83F111.3080900@polymtl.ca> Message-ID: <76cdca01002251755ucc1f8fbu7c04dc459930f06f@mail.gmail.com> Message-ID: <20100226015529.Cgm9OUHR5w0AzWzGsH4pHQkZmV8rFsyxBXrXrcdoFvI@z> On Tue, Feb 23, 2010 at 4:15 PM, Pierre-Marc Fournier < pierre-marc.fournier at polymtl.ca> wrote: > soumyakanti chakraborty wrote: > > > > Hi Pierre, > > > > >>>What do you see in the trace directory (the one that doesn't > > work)? What > > >>>files and are they zero size or do they contain something? > > > > Yes, they are of zero size. Its actually zero byte. > > > > > > Hi Pierre, > > > > I did a manual trace with Firefox and received the following errors > > pasted in the below link - > > > > http://pastebin.ca/1805238 > > There are some remaining issues with tracing of multi-process > applications. Firefox, because of its complexity, is a very good torture > test. I will dig into this this week. Thanks for the feedback. > Thanks for that, I think that will help. > > > > > Like Naren, I also received some directories which has no traces inside > > /tmp/usttrace, those directories had a 0 byte metadata_0 file. Just to > > know if the above errors has something to do with no significant results > > getting displayed in lttv during batch analysis. > > Not sure if I understand what you mean. Batch analysis is the framework > on which the lttv textdump plugin is based. Do you mean you get nothing > in text dump? Or in your own custom plugin based on batch analysis. > > Normally you should at least get events for tracefiles that have > non-zero size. > Yup, we are getting events for tracefiles which are non-zero in size. I was mentioning that if a application spawn 5 other processes, in some of the pid folders we are getting a 0 byte metadata_0 file, which I think is absolutely fine as those parts didn't do any sorts of work (Like the python extension scripts of GIMP). Just another thing bit different from the above discussion, I just downloaded UST from the git and tried to install but during "make" it shooted the following error given below - *libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libustcomm -DUST_COMPONENT=ust_snprintf -fPIC -g -O2 -MT libustsnprintf_la-snprintf.lo -MD -MP -MF .deps/libustsnprintf_la-snprintf.Tpo -c snprintf.c -fPIC -DPIC -o .libs/libustsnprintf_la-snprintf.o snprintf.c:39:26: error: ust_snprintf.h: No such file or directory make[2]: *** [libustsnprintf_la-snprintf.lo] Error 1 make[2]: Leaving directory `/usr/src/ust/snprintf' *There was a update in git "*use signal safe ust_safe_snprintf()* " .. 6 days back in which the commitdiff shows that +noinst_HEADERS = share.h usterr.h ust_snprintf.h getting added in the *Makefile.am. *Could this be the reason for getting the above error during installation ? Regards, Soumya > > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: