[lttng-dev] I'm still getting empty ust traces using tracef
b.hutchman at gmail.com
Thu May 11 11:53:01 EDT 2023
I posted a while ago (thread - Using lttng 2.11 and UST doesn't appear
to work - getting empty trace files) about this problem I'm having
with getting empty trace logs.
I've since upgraded to lttng v2.13 and while I can do a simple hello
world program with tracef and get events in the log files, my more
complicated large multi-threaded app I'm trying to debug is still
getting empty log file traces.
I can list the user space events in my app.
Next I do:
lttng enable-event --userspace 'lttng_ust_tracef:*'
... to enable the events, start lttng, start my app, .... and I get a
trace directory structure that's empty.
I feel like I've read every thread in the archives about people having
the same problem.
I did try using LD_PRELOAD with various libs thinking that was the
problem but so far I'm still getting empty traces.
So far I've tried:
I guess one question I have is how do I determine which "helper libs"
I need to preload?
The application I'm working on is made up of a bunch of smaller static
libs linked together into one big executable and that is linked with
-llttng-ust and -ldl.
I'm pretty stuck at the moment. Anyone have any wisdom on what I
might be doing wrong or how I can tell why I'm not getting events in
More information about the lttng-dev