[lttng-dev] unable to profile example

Luis Ayuso luis.f.ayuso at gmail.com
Wed Apr 17 08:57:53 EDT 2019


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: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190417/1baa6446/attachment.html>


More information about the lttng-dev mailing list