[ltt-dev] No trace data inside the trace folders
Srivatsan Vijayaraghavan
srivatsanvijayaraghavan at yahoo.com
Tue Feb 15 12:31:03 EST 2011
case 1 - usttrace ./testust
no -o option switch to specify trace directory and I get
/root/.usttracers/.../ust-consumerd.log - No such file or directory
case 2 - usttrace -o ./trace ./testust
I specified the output directory for the trace and the two files app.log, ust-consumerd.log are now created in ./tracedir, but when I tried to inspect the folder for the actual trace, there was no tracing done or the folder where the trace data is kept was not there inside ./tracedir
On the console-
> Waiting for ust-consumerd to shutdown...
> Trace was output in: ./tracedir
sh-2.05b# cd tracedir
-sh-2.05b# ls
> app.log ust-consumerd.log
Thanks,
Srivatsan
--- On Tue, 2/15/11, Mathieu Desnoyers <compudj at krystal.dyndns.org> wrote:
From: Mathieu Desnoyers <compudj at krystal.dyndns.org>
Subject: Re: [ltt-dev] No trace data inside the trace folders
To: "Srivatsan Vijayaraghavan" <srivatsanvijayaraghavan at yahoo.com>
Cc: ltt-dev at lists.casi.polymtl.ca
Date: Tuesday, February 15, 2011, 2:00 PM
what is the "the same /root/.usttracers/..../ust-consumerd.log - No such
file or directory" exactly ? Which path is it unable to create ? Have
you tried creating it by hand ?
Thanks,
Mathieu
* Srivatsan Vijayaraghavan (srivatsanvijayaraghavan at yahoo.com) wrote:
> -sh-2.05b# usttrace -o ./tracedir ./testUST
> ./tracedir
> Waiting for ust-consumerd to shutdown...
> Trace was output in: ./tracedir
> -sh-2.05b# pwd
> /usr/local/bin
> -sh-2.05b# cd tracedir
> -sh-2.05b# ls
> app.log ust-consumerd.log
>
> If I dont give the trace directory, the it fails to create the ust-consumerd.log file.
>
> Thanks,
> Srivatsan
> --- On Tue, 2/15/11, Mathieu Desnoyers <compudj at krystal.dyndns.org> wrote:
>
> From: Mathieu Desnoyers <compudj at krystal.dyndns.org>
> Subject: Re: [ltt-dev] Trouble tracing my application for PowerPC board
> To: "Srivatsan Vijayaraghavan" <srivatsanvijayaraghavan at yahoo.com>
> Cc:
> ltt-dev at lists.casi.polymtl.ca
> Date: Tuesday, February 15, 2011, 4:34 AM
>
> * Srivatsan Vijayaraghavan (srivatsanvijayaraghavan at yahoo.com) wrote:
> > I used ltib to cross compile and build liburcu and libust on my target board (for powerpc). Everything went smooth with few glitches which were sorted out, but when I tried to trace my application by invoking it from usttrace (usttrace ./testust), I wasn't able to get beyond this message
> > /root/.usttracers/...../ust-consumerd.log - No such file or directory
> >
> > I tried recording the trace manually when ust-consumerd failed in epoll_create().
> > So I built the kernel with CONFIG_EPOLL support, but that did not help. I still get the same /root/.usttracers/..../ust-consumerd.log - No such file or directory
> >
>
> > ---testust.cpp---
> > #include <ust.marker.h>
> > int main(..)
> > {
> > trace_mark(main,myevent,"%d", getpid());
> > }
>
> which user ID are your running your application as ?
>
> What's the value of your $HOME ?
>
> It looks like ust is unable to create the directories/files needed to
> write the log file. It looks like an access right problem
>
> Mathieu
>
> >
> > Thanks,
> > Srivatsan V
> >
> >
> >
> >
> >
> > ____________________________________________________________________________________
> > Food fight? Enjoy some healthy debate
> > in the Yahoo! Answers Food & Drink Q&A.
> > http://answers.yahoo.com/dir/?link=list&sid=396545367
> > _______________________________________________
> > ltt-dev mailing list
> > ltt-dev at lists.casi.polymtl.ca
> > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
>
> --
> Mathieu Desnoyers
> Operating System Efficiency R&D Consultant
> EfficiOS Inc.
> http://www.efficios.com
>
>
>
>
> ____________________________________________________________________________________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110215/c61f97fe/attachment-0003.htm>
More information about the lttng-dev
mailing list