From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWjkY-00052d-4I for qemu-devel@nongnu.org; Thu, 17 Oct 2013 05:20:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWjkT-0003vK-AV for qemu-devel@nongnu.org; Thu, 17 Oct 2013 05:20:10 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:58129 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWjkT-0003qT-4h for qemu-devel@nongnu.org; Thu, 17 Oct 2013 05:20:05 -0400 References: <1381775755-8421-1-git-send-email-mohamad.gebai@polymtl.ca> <1381775755-8421-5-git-send-email-mohamad.gebai@polymtl.ca> <525D6832.9060703@polymtl.ca> <525F3709.7070506@polymtl.ca> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <525F3709.7070506@polymtl.ca> Date: Thu, 17 Oct 2013 10:20:02 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC PATCH v3 4/5] Update documentation for LTTng ust tracing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mohamad Gebai Cc: qemu-devel@nongnu.org, Mohamad Gebai mohamad.gebai@polymtl.ca writes: > On 13-10-16 08:05 AM, Alex Bennée wrote: >>>> Running this gives me: >>>> >>>> >>>> UST events: >>>> ------------- >>>> None >>>> >>>> >>>> Before or after running qemu. What is the mechanism lttng expects to >>>> find out all these events? >>> Either the user should belong the group "tracing", or launch the >>> lttng-sessiond daemon (lttng-sessiond -d). >> >> >> Hmm I've done both and I get nothing still. I can enable all tracepoints >> though. This could just be a Ubuntu weirdness thing though. > > That's weird. I did test it on a clean Ubuntu Precise (in a VM) and I > didn't have any problem after either one of these steps. Can you please > make sure that the user belongs to the "tracing" group and that the > lttng-sessiond daemon is running before running any instance of Qemu. > Also, Qemu should be running for LTTng to be able to list the events. Ahh that was it. I suggest you change the wording from: "Package lttng-tools is required for userspace tracing. After running Qemu, LTTng should be able to list all available events:" to "Package lttng-tools is required for userspace tracing. While running and instrumented Qemu, LTTng should be able to list all available events:" > Does lttng enable-event -a -u/start/stop/view show any event? Yes, as I said the rest worked fine. With that minor wording fix I'm happy. Thanks for getting this back into shape :-) -- Alex Bennée