<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Did you forgot to enable some event, for example:<br>
lttng enable-event -u -a<br>
(For all userspace events)<br>
<br>
On 2013-05-26 08:51, Aryeh Weinreb wrote:
<blockquote
cite="mid:CAE5ibEneMm2D1=3Zy8hbtV42Y22TwW2rRAqimyMSfMPvtiYCiA@mail.gmail.com"
type="cite">
<pre wrap="">Hi,
I'm trying to get UST working for the first time on RHEL 6.4.
I compiled and installed the following packages:
userspace-rcu-0.7.6
lttng-ust-2.1.2
lttng-tools-2.0.5
babeltrace-1.1.0
When I ran the sample app in lttng-ust/examples I couldn't see any traces.
# lttng create test_session
Session test_session created.
Traces will be written in /root/lttng-traces/test_session-20130526-071315
# lttng start
Tracing started for session test_session
# cd /usr/local/share/doc/lttng-ust/examples/gen-tp/
# make
lttng-gen-tp -o sample_tracepoint.h sample_tracepoint.tp
gcc -c -o sample.o sample.c
lttng-gen-tp -o sample_tracepoint.c sample_tracepoint.tp
lttng-gen-tp -o sample_tracepoint.o sample_tracepoint.tp
gcc -o sample sample.o sample_tracepoint.o -ldl -llttng-ust
rm sample_tracepoint.c
# ./sample
# lttng stop
Tracing stopped for session test_session
# lttng view
Trace directory: /root/lttng-traces/test_session-20130526-071315
[error] Cannot open any trace for reading.
[error] opening trace
"/root/lttng-traces/test_session-20130526-071315" for reading.
[error] none of the specified trace paths could be opened.
# ls -l /root/lttng-traces/test_session-20130526-071315
total 0
What am I doing wrong? I attached the debug log from the lttng-sessiond.
Thanks,
Aryeh
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
lttng-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>