[lttng-dev] Error in creating session in Embedded Android based development board

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Sun Jun 3 18:24:16 EDT 2018


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 at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Jonathan Rajotte-Julien
EfficiOS


More information about the lttng-dev mailing list