----- On Mar 21, 2019, at 12:21 PM, lttng-dev lttng-dev@lists.lttng.org wrote:
> Hey all, > > I stumbled upon lttng-track which sounds quite useful when one wants to > concentrate on the events of a single process. But how is one supposed to use > this? Usually, I start lttng before I start my application - I thus don't know > the PID yet. Is there a trick that I'm not aware of, or can it really only be > used to track after starting an application? At the moment, you need to know which PID you want to track. I have a prototype using ptrace to do something similar to strace --follow-children /path/to/executable but I only had time to do the underlying plumbing. All the user interface needs to be designed and implemented. If you are interested to look into this I could dig out my prototype branch. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev