Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] unable to profile example
Date: Tue, 16 Apr 2019 13:46:05 -0400 (EDT)	[thread overview]
Message-ID: <1864353373.2210.1555436765140.JavaMail.zimbra@efficios.com> (raw)
In-Reply-To: <CAGkk+5Be9mMt6Nni8BdRwH4hfXG_QsKKjNPtYWm2xDtGOvNruA@mail.gmail.com>



----- 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


       reply	other threads:[~2019-04-16 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAGkk+5Be9mMt6Nni8BdRwH4hfXG_QsKKjNPtYWm2xDtGOvNruA@mail.gmail.com>
2019-04-16 17:46 ` Mathieu Desnoyers [this message]
2019-04-17 12:57   ` Luis Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1864353373.2210.1555436765140.JavaMail.zimbra@efficios.com \
    --to=mathieu.desnoyers@efficios.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox