* David Goulet ([email protected]) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Did you installed lttng-modules ? > > However, "Function not implemented" ... this sounds like the ioctl() syscall > is > not available in the kernel somehow... or not implemented in the libc > you are using.
We'd need to output of lsmod (while sessiond is running) and kernel configuration (.config). Thanks, Mathieu > > David > > On 12-04-03 04:38 PM, [email protected] wrote: > > > > Hi David, > > > > 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? > > > > /tmp # lttng -vvv enable-event -a -k > > DEBUG2: Config file path found: / [in get_session_name() at utils.c:49] > > DEBUG1: Session name found: new3 [in get_session_name() at utils.c:50] > > PERROR: create event ioctl: Function not implemented [in > > kernel_create_event() > > at kernel.c:200] > > Error: Events: Enable kernel event failed (channel channel0, session new3) > > DEBUG1: Clean exit [in clean_exit() at lttng.c:165] > > > > Thank you, > > Ryan Kyser > > > > > > From: David Goulet <[email protected]> > > To: [email protected] > > Cc: [email protected] > > Date: 04/03/2012 04:11 PM > > Subject: Re: [lttng-dev] lttng create --output problem > > > > > > > > > > > > Hi Ryan, > > > > Well, the --output works on our test suites so it might be something you do > > that > > does not create the trace. > > > > Simply using create, start and stop will produce nothing. You have to at > > least > > enable events for trace files to be created since they are opened by the > > consumer. > > > > Can you try "lttng enable-events -a -k" (enabling all kernel events) after > > the > > create session and tell me if it works for you? (or use user space tracing, > > whatever works for you). > > > > If not, add "-vvv" to the lttng command for debug output and also for the > > session daemon. > > > > # lttng-sessiond -vvv > > # lttng -vvv ... > > > > Thanks! > > David > > > > On 12-04-03 04:02 PM, [email protected] wrote: > > > >> Whenever I try using the --output flag for creating a new session, it > >> doesn't > >> seem to use the location specified. Additionally, if I do a find on the > >> entire > >> file system, no files are found that start with session name specified. > >> This > >> seems like a bug to me ... or am I doing something wrong? > > > >> //--------------------------------------- > >> // Log > >> //--------------------------------------- > > > >> / # lttng create --output /tmp new3 > >> Session new3 created. > >> Traces will be written in /tmp > >> / # lttng start > >> Tracing started for session new3 > >> / # lttng stop > >> Tracing stopped for session new3 > >> / # ls /tmp > >> wayland-0 wayland-0.lock > > > > > >> Thank you, > >> Ryan Kyser > > > > > > > >> _______________________________________________ > >> lttng-dev mailing list > >> [email protected] > >> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > > <http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev> > > _______________________________________________ > lttng-dev mailing list > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQEcBAEBAgAGBQJPe2Y9AAoJEELoaioR9I02Wv8H/2kM15cYcxwOyXVm2PKr02O4 > tP5KJCZKJ/oRZ8bmTezXLH5zSozgwnJ/usP7tDHSq55omKq2M9+iKzf1Ya9i8wu1 > REcfvwEtn+jJJkUHyjxqvVp5WGl5F5TZAkTYfCOaWaF8Y3R/m3FZ2GnF67odbHN0 > DN+A+Kvsa1K1TiBOaPXmNh96/XmwZVic/YOQ1J5Z7naf7t3vx0IWAJXZ6rmPBeyE > F9NderBhQX31rUrxbau/G1rLTy0QhDuc3WkBf2D/+tm+GAEvlbbC9QJPLKqskKve > h5hBRplFqt1EAHXLJ5mRVGPIpqXBUOOMSgGCrSvJtxQr/1VMQacYGlIhVESjFX4= > =/kcT > -----END PGP SIGNATURE----- > > _______________________________________________ > lttng-dev mailing list > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
