[lttng-dev] logs from 32bit binary in live session

s.v.l.srinivasa raghavan svlsr2000 at gmail.com
Thu Jan 30 23:53:08 EST 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20200131/9740901f/attachment.html>


More information about the lttng-dev mailing list