From: "s.v.l.srinivasa raghavan" <svlsr2000@gmail.com>
To: lttng-dev@lists.lttng.org
Subject: logs from 32bit binary in live session
Date: Fri, 31 Jan 2020 10:23:08 +0530 [thread overview]
Message-ID: <CAGjfqVnrvd1X-yqNawneidaRhGV8gAh8cd-nFkF2XWa_JF030Q@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1562 bytes --]
Hello,
I am trying to setup a live debugging session in environment with both 32
bit and 64 bit binaries. I am currenlty using Debian buster. After setting
up, i am observing that i am not able to see 32 bit logs. I tried with the
examples given in document. Did few modifications to setup live session.
Initial compilation and installation is done as per
https://lttng.org/docs/v2.11/#doc-instrumenting-32-bit-app-on-64-bit-system
After this i am starting sessiond using
lttng-sessiond
--consumerd32-path=/usr/local/lib32/lttng/libexec/lttng-consumerd
--consumerd64-path=/usr/local/lib/lttng/libexec/lttng-consumerd \
--ustconsumerd32-err-sock=/home/user/.lttng/ustconsumerd32/error \
--ustconsumerd64-err-sock=/home/user/.lttng/ustconsumerd64/error \
--ustconsumerd32-cmd-sock=/home/user/.lttng/ustconsumerd32/command \
--ustconsumerd64-cmd-sock=/home/user/.lttng/ustconsumerd64/command \
--daemonize
Starting relayd using
lttng-relayd -o /tmp/lttng
Starting live session (In the same machine) using
lttng create my-session3 --live
lttng enable-event -u hello:*
lttng start
babeltrace --input-format=lttng-live
net://localhost/host/debianServer/my-session3
Now executing 64 bit binary is producing logs in live session where as
executing 32 bit version is not producing any log. I am also observing that
both the logs (ie logs from 32bit and 64 bit binaries) are getting captured
in non live sessions, ie when i write to file.
Do i need to pass some additional parameters to relayd / babeltrace to get
both the logs?
--
Cheers
Srinivas
[-- Attachment #1.2: Type: text/html, Size: 2434 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
reply other threads:[~2020-01-31 4:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAGjfqVnrvd1X-yqNawneidaRhGV8gAh8cd-nFkF2XWa_JF030Q@mail.gmail.com \
--to=svlsr2000@gmail.com \
--cc=lttng-dev@lists.lttng.org \
/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;
as well as URLs for NNTP newsgroup(s).