lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* logs from 32bit binary in live session
@ 2020-01-31  4:53 s.v.l.srinivasa raghavan
  0 siblings, 0 replies; only message in thread
From: s.v.l.srinivasa raghavan @ 2020-01-31  4:53 UTC (permalink / raw)
  To: lttng-dev


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-31  4:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-31  4:53 logs from 32bit binary in live session s.v.l.srinivasa raghavan

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).