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
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
lttng-relayd -o /tmp/lttng
Starting live session (In the same machine) using
lttng create my-session3 --live
lttng enable-event -u hello:*
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?