From mboxrd@z Thu Jan 1 00:00:00 1970 From: luis.f.ayuso@gmail.com (Luis Ayuso) Date: Wed, 17 Apr 2019 14:57:53 +0200 Subject: [lttng-dev] unable to profile example In-Reply-To: <1864353373.2210.1555436765140.JavaMail.zimbra@efficios.com> References: <1864353373.2210.1555436765140.JavaMail.zimbra@efficios.com> Message-ID: the example works now. thanks for your time El mar., 16 abr. 2019 a las 19:46, Mathieu Desnoyers (< mathieu.desnoyers at efficios.com>) escribi?: > > > ----- On Apr 16, 2019, at 11:34 AM, Luis Ayuso luis.f.ayuso at gmail.com > wrote: > > > Dear Lttng community. > > > I tried to profile the example code, as described in the documentation @ > [ > > https://lttng.org/docs/v2.10 | https://lttng.org/docs/v2.10 ] > > and I could not get any satisfactory result. > > > I am using > > - lttng (LTTng Trace Control) 2.10.2 - KeKriek > > - Ubuntu 18.04.2 > > > I created the files hello-tp.c hello-tp.h hello.c as described in the > > documentation > > The code succesfully compiles. > > Kernel modules are loaded. > > lttng-sessiond --daemonize runs with not acknowledgement. > > > nevertheless, lttng create session command returns an error I am unable > to > > justify: > > lttng create test > > Session test created. > > Traces will be written in /home/luis/lttng-traces/test-20190416-173219 > > Error: Unable to create config file > > Error: Command error > > > - Do I need any extra setup step that is no documented in the web? > > - Is the package at ubuntu repos working correctly? > > - are there known conflicts with any other software > > This message appears when lttng fails to create either: > > - $LTTNG_HOME/.lttngrc (if the LTTNG_HOME environment variable is set), or > - $HOME/.lttngrc otherwise. > > Please double-check the content of those environment variables and access > rights > to the directories they lead to. > > Thanks, > > Mathieu > > -- > Mathieu Desnoyers > EfficiOS Inc. > http://www.efficios.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: