From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ji.Zhai@ca.flextronics.com (Ji Zhai) Date: Wed, 14 Sep 2011 11:05:17 -0700 Subject: [ltt-dev] no metadata tracefile In-Reply-To: <4E6FB6FB.5080408@polymtl.ca> References: <4E6FB6FB.5080408@polymtl.ca> Message-ID: Message-ID: <20110914180517.y2gWQawfCsWry6oA6PnPSQazv_twbrbd1e8zXTFzOQI@z> Hi Alexandre, Thanks for your reply! According to your suggestions, I did the followings: 1. I cleaned all related libs in /usr/local/lib and /usr/lib 2. Built/installed userspace-rcu-0.6.4 3. Built/installed UST-0.15 with debug enable 4. gcc -o foo lust foo.c The foo.c are: #include int main(int argc, char **argv) { int v; char *st; /* ... set values of v and st ... */ v = 110; st = "hello, UST"; /* a marker: */ trace_mark(ust, myevent, "firstarg %d secondarg %s", v, st); /* a marker without arguments: */ trace_mark(ust, myotherevent, MARK_NOARGS); return 0; } 5. usttrace ./foo 6. I got the log files in /home/root/.usttraces. 7. I used LTTV(0.12.36) to review the results: lttv -m textDump -t mcb00-main-aaillax-20110914130558687771830 ** (process:20623): WARNING **: Trace /nas/jizhai/LTTng/mytrace/mcb00-main-aaillax-20110914130558687771830 has no metadata tracefile ** (process:20623): CRITICAL **: cannot open trace mcb00-main-aaillax-20110914130558687771830 /home/jizhai/MyLocal/LTTng/bin/lttv: line 15: 20623 Segmentation fault $0.real $* I have attached the tar ball (foo_ust.tar.gz) for the log files. Please see the attachment. My co-worker did same test on his side and sent an email for help to the mailing list: http://lists.casi.polymtl.ca/pipermail/ltt-dev/2011-September/005135.html In his email, there are some debug information done by him. I am looking forward to get your further help! Thanks! Regards, Ji -----Original Message----- From: Alexandre Montplaisir [mailto:alexandre.montplaisir@polymtl.ca] Sent: Tuesday, September 13, 2011 4:03 PM To: Ji Zhai Cc: ltt-dev at lists.casi.polymtl.ca Subject: Re: [ltt-dev] no metadata tracefile On 11-09-13 03:22 PM, Ji Zhai wrote: > Hi Mathieu, > > Thanks for your reply! > I have tried many combinations, for example, userspace-rcu-0.6.4 and > ust-0.15, but still got the same kind of errors--no metadata trace > tracefile. > Any idea? Thanks again! > > Regards, > > Ji Hi Ji Zhai, Can you take a really small UST trace (a couple MB's) and upload it somewhere? Also make sure you are really using the latest versions (urcu 0.6.4, UST 0.15 and LTTV 0.12.38). Sometimes old versions are still in the PATH even if new versions got installed afterwards. On most distros, stuff in /usr/local has priority over stuff in /usr. Cheers, -- Alexandre Montplaisir DORSAL lab, ?cole Polytechnique de Montr?al Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message -------------- next part -------------- A non-text attachment was scrubbed... Name: foo_ust.tar.gz Type: application/x-gzip Size: 1772 bytes Desc: foo_ust.tar.gz URL: