From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWbys-0006i0-FM for qemu-devel@nongnu.org; Wed, 16 Oct 2013 21:02:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWbyk-0000Dg-Jd for qemu-devel@nongnu.org; Wed, 16 Oct 2013 21:02:26 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:36167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWbyk-0000Bz-9A for qemu-devel@nongnu.org; Wed, 16 Oct 2013 21:02:18 -0400 Message-ID: <525F3709.7070506@polymtl.ca> Date: Wed, 16 Oct 2013 21:02:01 -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> 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-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 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 tracepoint= s > 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=20 didn't have any problem after either one of these steps. Can you please=20 make sure that the user belongs to the "tracing" group and that the=20 lttng-sessiond daemon is running before running any instance of Qemu.=20 Also, Qemu should be running for LTTng to be able to list the events. Does lttng enable-event -a -u/start/stop/view show any event? > > I'm not sure if mentioning the group/daemon requirements in the tracing > doc is required though. I guess these things can be a little > package/distro specific? > > ' This isn't really specific to Ubuntu, it's the setup of LTTng so I guess=20 I could add it to the documentation as well. Thanks! Mohamad