From mboxrd@z Thu Jan 1 00:00:00 1970 From: paramesh p Subject: Error in creating session in Embedded Android based development board Date: Sat, 2 Jun 2018 18:01:36 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1773838381674565680==" Return-path: Received: from mail-yb0-x242.google.com (mail-yb0-x242.google.com [IPv6:2607:f8b0:4002:c09::242]) by lists.lttng.org (Postfix) with ESMTPS id 40z0Bn5nLMz18Hb for ; Sat, 2 Jun 2018 21:01:37 -0400 (EDT) Received: by mail-yb0-x242.google.com with SMTP id p22-v6so9961267yba.13 for ; Sat, 02 Jun 2018 18:01:37 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" To: lttng-dev@lists.lttng.org List-Id: lttng-dev@lists.lttng.org --===============1773838381674565680== Content-Type: multipart/alternative; boundary="000000000000e33370056db25be8" --000000000000e33370056db25be8 Content-Type: text/plain; charset="UTF-8" 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] []* *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 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 --000000000000e33370056db25be8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
=C2=A0 =C2=A0 I am new to Tracing. I was trying to= use Lttng in my Android based Dragonboard Develop kit. I installed Lttng w= ith Bitbake, by adding below line in=C2=A0conf/local.conf
IMAGE_I= NSTALL_append =3D " lttng-tools lttng-modules lttng-ust"

After the succesful build and flashing, I can access t= he 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:
=C2=A0 -V, --version=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Show version
=C2=A0 -h, --= help=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Show this= help
=C2=A0 =C2=A0 =C2=A0 --list-options=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0Simple listing of lttng options
=C2=A0 = =C2=A0 =C2=A0 --list-commands=C2=A0 =C2=A0 =C2=A0 =C2=A0 Simple listing of = lttng commands
=C2=A0 -v, --verbose=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 Increase verbosity
=C2=A0 -q, = --quiet=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Quiet mode
=C2=A0 -m, --mi TYPE=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 Machine Interface mode.
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0Type: xml
=C2=A0 -g, --group NAME= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Unix tracing group name. (default:= tracing)
=C2=A0 -n, --no-sessiond=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 Don't spawn a session daemon
=C2=A0 =C2=A0 = =C2=A0 --sessiond-path PATH=C2=A0 =C2=A0Session daemon full path
<= div>=C2=A0 =C2=A0 =C2=A0 --relayd-path PATH=C2=A0 =C2=A0 =C2=A0Relayd da= emon full path

Commands:
=C2=A0 =C2=A0 add-context=C2=A0 =C2=A0 =C2=A0 =C2=A0Add context to ev= ent and/or channel
=C2=A0 =C2=A0 calibrate=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0Quantify LTTng overhead
=C2=A0 =C2=A0 = create=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Create tracing session<= /div>
=C2=A0 =C2=A0 destroy=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= Tear down tracing session
=C2=A0 =C2=A0 enable-channel=C2= =A0 =C2=A0 Enable tracing channel
=C2=A0 =C2=A0 enable-eve= nt=C2=A0 =C2=A0 =C2=A0 Enable tracing event
=C2=A0 =C2=A0 = disable-channel=C2=A0 =C2=A0Disable tracing channel
=C2=A0= =C2=A0 disable-event=C2=A0 =C2=A0 =C2=A0Disable tracing event
=C2=A0 =C2=A0 list=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Lis= t possible tracing options
=C2=A0 =C2=A0 set-session=C2=A0= =C2=A0 =C2=A0 =C2=A0Set current session name
=C2=A0 =C2= =A0 snapshot=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Snapshot buffers of current = session name
=C2=A0 =C2=A0 start=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0Start tracing
=C2=A0 =C2=A0 stop= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Stop tracing
=C2=A0 =C2=A0 version=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Show vers= ion information
=C2=A0 =C2=A0 view=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 Start trace viewer
=C2=A0 =C2=A0 = save=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Save session configura= tion
=C2=A0 =C2=A0 load=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 Load session configuration

Each command also has its own -h, --help option.

=
Please see the lttng(1) man page for full documentation.<= /i>
See http://lttng.org for = updates, bug reports and news.


When I try to create a session. I am getting below error.=C2=A0
=

/ # lttng create test-session
= Spawning a session daemon
modprobe: ERROR: could not inser= t 'lttng_tracer': Required key not available
Error= : Unable to load required module lttng-tracer
Warning: No = kernel tracer available
Session test-session created.<= /div>
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.

Rega= rds,
Paramesh
--000000000000e33370056db25be8-- --===============1773838381674565680== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbHR0bmctZGV2 IG1haWxpbmcgbGlzdApsdHRuZy1kZXZAbGlzdHMubHR0bmcub3JnCmh0dHBzOi8vbGlzdHMubHR0 bmcub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9sdHRuZy1kZXYK --===============1773838381674565680==--