All of lore.kernel.org
 help / color / mirror / Atom feed
* Error in creating session in Embedded Android based development board
@ 2018-06-03  1:01 paramesh p
  0 siblings, 0 replies; 2+ messages in thread
From: paramesh p @ 2018-06-03  1:01 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 2672 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3987 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error in creating session in Embedded Android based development board
       [not found] <CAOG=51x=05q8b8T8TNVoxXuEsy5QOyK59gn6y67Rtmp-9qN+RA@mail.gmail.com>
@ 2018-06-03 22:24 ` Jonathan Rajotte-Julien
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Rajotte-Julien @ 2018-06-03 22:24 UTC (permalink / raw)
  To: paramesh p; +Cc: lttng-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-03 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-03  1:01 Error in creating session in Embedded Android based development board paramesh p
     [not found] <CAOG=51x=05q8b8T8TNVoxXuEsy5QOyK59gn6y67Rtmp-9qN+RA@mail.gmail.com>
2018-06-03 22:24 ` Jonathan Rajotte-Julien

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.