[lttng-dev] sessiond and consumerd for 32 and 64 bit apps

Anand Neeli anand.neeli at gmail.com
Mon Oct 6 14:42:59 EDT 2014

Hi All,

I have a query running 32-bit and 64-bit apps.
i'm starting lttng with following steps

lttng-relayd -d

lttng-sessiond --consumerd32-path /usr/lib/lttng/libexec/lttng-consumerd
--consumerd32-libdir /usr/lib/ --consumerd64-path
/usr/lib64/lttng/libexec/lttng-consumerd --consumerd64-libdir /usr/lib64/
-b --no-kernel

lttng -no-sessiond create mysession --live 200000 -U net://localhost

lttng enable-channel mychannel --userspace --buffers-pid -s mysession
--tracefile-size 8388608 --tracefile-count 8

lttng  enable-event --channel mychannel --userspace --all -s mysession

 lttng start

My Queries:
1) Does this spawn consumerd for 32-bit and 64-bit separately?

2) i see that 2 consumerd process are launched. and the 64-bit one looks to
be correct.
root       975  0.0  0.0 404480   956 ?        Sl   11:01   0:00
lttng-consumerd --quiet -u --consumerd-cmd-sock
/var/run/lttng/ustconsumerd64/command --consumerd-err-sock
/var/run/lttng/ustconsumerd64/error --group tracing
root       983  0.0  0.0      0     0 ?        Z    11:01   0:00
[lttng-consumerd] <defunct>

3) What libraries are required by sessiond to launch consumerd. So that i
can copy only those libraries on to the target.

4) is there a way to launch sessiond so that it automatically consumes data
from 32-bit and 64-bit apps.

Thanks in advance,
Anand Neeli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20141007/0b0cf985/attachment.html>

More information about the lttng-dev mailing list