[lttng-dev] ust libc and fork wrapper question

Matthew Khouzam matthew.khouzam at ericsson.com
Wed Aug 28 14:05:03 EDT 2013


Hello tracing sages,

I was trying out the libc wrapper in ust. It works very well but does
not follow forks. (to be expected)

So I copied "liblttng-ust-fork.so" into my .libs directory along with
"liblttng-libc-wrapper.so".

I then run

$lttng create thing
$lttng enable-channel chan --buffer-uid
$lttng enable-event -a -k
$lttng start
$LD_PRELOAD="liblttng-ust-fork.so liblttng-libc-wrapper.so" firefox
$lttng stop
$lttng destroy

Aaaaaaaaaaand my trace has no events!

I am certain I am doing something wrong, any suggestions?

Matthew




More information about the lttng-dev mailing list