All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
To: paramesh p <params16jan@gmail.com>
Cc: lttng-dev@lists.lttng.org
Subject: Re: Error in creating session in Embedded Android based development board
Date: Sun, 3 Jun 2018 18:24:16 -0400	[thread overview]
Message-ID: <20180603222416.GA29511__41603.5812501379$1528064551$gmane$org@joraj-alpa> (raw)
In-Reply-To: <CAOG=51x=05q8b8T8TNVoxXuEsy5QOyK59gn6y67Rtmp-9qN+RA@mail.gmail.com>

Hi Paramesh,

LTTng 2.6 is not supported anymore. Either upgrade your bitbake recipes or
the yocto tree used. The problem you seems to observe is most
probably related to UEFI Secure Boot and kernel/modules signing. You could try to
disabling Secure Boot in the BIOS. Otherwise you will need to sign the modules.

Cheers

On Sat, Jun 02, 2018 at 06:01:36PM -0700, paramesh p wrote:
> Hi,
>     I am new to Tracing. I was trying to use Lttng in my Android based
> Dragonboard Develop kit. I installed Lttng with Bitbake, by adding below
> line in conf/local.conf
> IMAGE_INSTALL_append = " lttng-tools lttng-modules lttng-ust"
> 
> After the succesful build and flashing, I can access the Lttng in my
> platform. Below is the output of "lttng" command
> 
> 
> */ # lttng*
> *LTTng Trace Control 2.6.0 - Gaia - v2.6.0*
> 
> *usage: lttng [OPTIONS] <COMMAND> [<ARGS>]*
> 
> *Options:*
> *  -V, --version              Show version*
> *  -h, --help                 Show this help*
> *      --list-options         Simple listing of lttng options*
> *      --list-commands        Simple listing of lttng commands*
> *  -v, --verbose              Increase verbosity*
> *  -q, --quiet                Quiet mode*
> *  -m, --mi TYPE              Machine Interface mode.*
> *                                 Type: xml*
> *  -g, --group NAME           Unix tracing group name. (default: tracing)*
> *  -n, --no-sessiond          Don't spawn a session daemon*
> *      --sessiond-path PATH   Session daemon full path*
> *      --relayd-path PATH     Relayd daemon full path*
> 
> *Commands:*
> *    add-context       Add context to event and/or channel*
> *    calibrate         Quantify LTTng overhead*
> *    create            Create tracing session*
> *    destroy           Tear down tracing session*
> *    enable-channel    Enable tracing channel*
> *    enable-event      Enable tracing event*
> *    disable-channel   Disable tracing channel*
> *    disable-event     Disable tracing event*
> *    list              List possible tracing options*
> *    set-session       Set current session name*
> *    snapshot          Snapshot buffers of current session name*
> *    start             Start tracing*
> *    stop              Stop tracing*
> *    version           Show version information*
> *    view              Start trace viewer*
> *    save              Save session configuration*
> *    load              Load session configuration*
> 
> *Each command also has its own -h, --help option.*
> 
> *Please see the lttng(1) man page for full documentation.*
> *See http://lttng.org <http://lttng.org> for updates, bug reports and news.*
> 
> 
> When I try to create a session. I am getting below error.
> 
> */ # lttng create test-session*
> *Spawning a session daemon*
> *modprobe: ERROR: could not insert 'lttng_tracer': Required key not
> available*
> *Error: Unable to load required module lttng-tracer*
> *Warning: No kernel tracer available*
> *Session test-session created.*
> *Traces will be written in
> /home/root/lttng-traces/test-session-19700101-000212*
> *Error: Unable to create config file*
> Error: Command error
> 
> 
> Please help me.
> Thanks in Advance.
> 
> Regards,
> Paramesh

> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Jonathan Rajotte-Julien
EfficiOS
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

       reply	other threads:[~2018-06-03 22:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOG=51x=05q8b8T8TNVoxXuEsy5QOyK59gn6y67Rtmp-9qN+RA@mail.gmail.com>
2018-06-03 22:24 ` Jonathan Rajotte-Julien [this message]
2018-06-03  1:01 Error in creating session in Embedded Android based development board paramesh p

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='20180603222416.GA29511__41603.5812501379$1528064551$gmane$org@joraj-alpa' \
    --to=jonathan.rajotte-julien@efficios.com \
    --cc=lttng-dev@lists.lttng.org \
    --cc=params16jan@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.