<br><font size=2 face="sans-serif">Hi David,</font>
<br>
<br><font size=2 face="sans-serif">That did it. I was avoiding using enable-events
because of another error I was seeing. Do you have any idea why the following
error would be showing up?</font>
<br>
<br><font size=2 face="sans-serif">/tmp # lttng -vvv enable-event -a -k</font>
<br><font size=2 face="sans-serif">DEBUG2: Config file path found: / [in
get_session_name() at utils.c:49]</font>
<br><font size=2 face="sans-serif">DEBUG1: Session name found: new3 [in
get_session_name() at utils.c:50]</font>
<br><font size=2 face="sans-serif">PERROR: create event ioctl: Function
not implemented [in kernel_create_event() at kernel.c:200]</font>
<br><font size=2 face="sans-serif">Error: Events: Enable kernel event failed
(channel channel0, session new3)</font>
<br><font size=2 face="sans-serif">DEBUG1: Clean exit [in clean_exit()
at lttng.c:165]</font>
<br>
<br><font size=2 face="sans-serif">Thank you,</font>
<br><font size=2 face="sans-serif">Ryan Kyser</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">David Goulet <dgoulet@efficios.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Ryan.Kyser@jci.com</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">lttng-dev@lists.lttng.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">04/03/2012 04:11 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [lttng-dev] lttng create --output
problem</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hi Ryan,<br>
<br>
Well, the --output works on our test suites so it might be something you
do that<br>
does not create the trace.<br>
<br>
Simply using create, start and stop will produce nothing. You have to at
least<br>
enable events for trace files to be created since they are opened by the
consumer.<br>
<br>
Can you try "lttng enable-events -a -k" (enabling all kernel
events) after the<br>
create session and tell me if it works for you? (or use user space tracing,<br>
whatever works for you).<br>
<br>
If not, add "-vvv" to the lttng command for debug output and
also for the<br>
session daemon.<br>
<br>
# lttng-sessiond -vvv<br>
# lttng -vvv ...<br>
<br>
Thanks!<br>
David<br>
<br>
On 12-04-03 04:02 PM, Ryan.Kyser@jci.com wrote:<br>
> <br>
> Whenever I try using the --output flag for creating a new session,
it doesn't<br>
> seem to use the location specified. Additionally, if I do a find on
the entire<br>
> file system, no files are found that start with session name specified.
This<br>
> seems like a bug to me ... or am I doing something wrong?<br>
> <br>
> //---------------------------------------<br>
> // Log<br>
> //---------------------------------------<br>
> <br>
> / # lttng create --output /tmp new3<br>
> Session new3 created.<br>
> Traces will be written in /tmp<br>
> / # lttng start<br>
> Tracing started for session new3<br>
> / # lttng stop<br>
> Tracing stopped for session new3<br>
> / # ls /tmp<br>
> wayland-0 wayland-0.lock<br>
> <br>
> <br>
> Thank you,<br>
> Ryan Kyser<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> lttng-dev mailing list<br>
> lttng-dev@lists.lttng.org<br>
> </font></tt><a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev"><tt><font size=2>http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</font></tt></a><tt><font size=2><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
<br>
iQEcBAEBAgAGBQJPe1l+AAoJEELoaioR9I02cVMH/3IrYbat+Z/OoyyFUTmtXxvd<br>
pQns77xJVjppIXq+ZtZTYZxwthWv4unPWdXxboK96Yp/SacVWhNNO2fBLwB8Rm+c<br>
0laBzc23AvrpxLCY+mkqLJcfXOXxy3D+S39ngCuRreZ/OuzyHreSCgSrVVkS1qPY<br>
S/6wEy9Dx2kZhPx6O1SeS8CMo/2dve3R7Fvua67Oh5hZkGtIUt23YSn4BfvQiA3t<br>
zKgbxC6XmbwHQIOTKlxsXZVI+Mb9VWYT0L9QgsojsahNHZPCXmmKblb1niMjLpRp<br>
WAo+mrtWqqvOLzeWrpOmy71zMTRElai2aoomd4dhqaqkJs1dUThhxwcRmT/bqXY=<br>
=evP/<br>
-----END PGP SIGNATURE-----<br>
</font></tt>
<br>
<br>