Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] Trouble tracing my application for PowerPC board
@ 2011-02-15  4:19 Srivatsan Vijayaraghavan
  2011-02-15  4:19 ` Srivatsan Vijayaraghavan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Srivatsan Vijayaraghavan @ 2011-02-15  4:19 UTC (permalink / raw)


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());
}

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110214/f1a518ff/attachment-0003.htm>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] Trouble tracing my application for PowerPC board
  2011-02-15  4:19 [ltt-dev] Trouble tracing my application for PowerPC board Srivatsan Vijayaraghavan
@ 2011-02-15  4:19 ` Srivatsan Vijayaraghavan
  2011-02-15  4:19 ` Srivatsan Vijayaraghavan
  2011-02-15  4:34 ` Mathieu Desnoyers
  2 siblings, 0 replies; 4+ messages in thread
From: Srivatsan Vijayaraghavan @ 2011-02-15  4:19 UTC (permalink / raw)


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());
}

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110214/f1a518ff/attachment-0002.htm>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] Trouble tracing my application for PowerPC board
  2011-02-15  4:19 [ltt-dev] Trouble tracing my application for PowerPC board Srivatsan Vijayaraghavan
  2011-02-15  4:19 ` Srivatsan Vijayaraghavan
@ 2011-02-15  4:19 ` Srivatsan Vijayaraghavan
  2011-02-15  4:34 ` Mathieu Desnoyers
  2 siblings, 0 replies; 4+ messages in thread
From: Srivatsan Vijayaraghavan @ 2011-02-15  4:19 UTC (permalink / raw)


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());
}

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/ltt-dev/attachments/20110214/f1a518ff/attachment.htm>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ltt-dev] Trouble tracing my application for PowerPC board
  2011-02-15  4:19 [ltt-dev] Trouble tracing my application for PowerPC board Srivatsan Vijayaraghavan
  2011-02-15  4:19 ` Srivatsan Vijayaraghavan
  2011-02-15  4:19 ` Srivatsan Vijayaraghavan
@ 2011-02-15  4:34 ` Mathieu Desnoyers
  2 siblings, 0 replies; 4+ messages in thread
From: Mathieu Desnoyers @ 2011-02-15  4:34 UTC (permalink / raw)


* 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-15  4:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-15  4:19 [ltt-dev] Trouble tracing my application for PowerPC board Srivatsan Vijayaraghavan
2011-02-15  4:19 ` Srivatsan Vijayaraghavan
2011-02-15  4:19 ` Srivatsan Vijayaraghavan
2011-02-15  4:34 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox