* [lttng-dev] unable to profile example
[not found] <CAGkk+5Be9mMt6Nni8BdRwH4hfXG_QsKKjNPtYWm2xDtGOvNruA@mail.gmail.com>
@ 2019-04-16 17:46 ` Mathieu Desnoyers
2019-04-17 12:57 ` Luis Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Desnoyers @ 2019-04-16 17:46 UTC (permalink / raw)
----- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] unable to profile example
2019-04-16 17:46 ` [lttng-dev] unable to profile example Mathieu Desnoyers
@ 2019-04-17 12:57 ` Luis Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Luis Ayuso @ 2019-04-17 12:57 UTC (permalink / raw)
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-17 12:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAGkk+5Be9mMt6Nni8BdRwH4hfXG_QsKKjNPtYWm2xDtGOvNruA@mail.gmail.com>
2019-04-16 17:46 ` [lttng-dev] unable to profile example Mathieu Desnoyers
2019-04-17 12:57 ` Luis Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox