From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX3iB-0005Xj-MU for qemu-devel@nongnu.org; Fri, 18 Oct 2013 02:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VX3i5-0006cG-Vw for qemu-devel@nongnu.org; Fri, 18 Oct 2013 02:39:03 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:43531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VX3i5-0006Uy-Rz for qemu-devel@nongnu.org; Fri, 18 Oct 2013 02:38:57 -0400 Message-ID: <5260D773.4080302@polymtl.ca> Date: Fri, 18 Oct 2013 02:38:43 -0400 From: Mohamad Gebai MIME-Version: 1.0 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> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable 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: =?UTF-8?B?QWxleCBCZW5uw6ll?= Cc: qemu-devel@nongnu.org, Mohamad Gebai On 13-10-17 05:20 AM, Alex Benn=C3=A9e wrote: > mohamad.gebai@polymtl.ca writes: > >> On 13-10-16 08:05 AM, Alex Benn=C3=A9e wrote: >>>>> Running this gives me: >>>>> >>>>> >>>>> UST events: >>>>> ------------- >>>>> None >>>>> >>>>> >>>>> Before or after running qemu. What is the mechanism lttng expects t= o >>>>> 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 tracepoi= nts >>> 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 pleas= e >> 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 Q= emu, 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 event= s:" Oops! Sorry about that. > >> 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 ha= ppy. > > Thanks for getting this back into shape :-) > Happy to do it, I hope it will be useful to others. Mohamad