On Mittwoch, 15. Mai 2019 12:16:40 CEST Jones, Tim wrote: > Hi, > > I've been attempting to use LTTng to trace some apps but need to trace from > their startup to shutdown. Is this possible with LTTng? > > For example, I'd like to be able to run something along the lines of this: > > lttng start -- <command> <args> > > I've searched the docs and Google, but I can't find anything regarding this > way of using LTTng!?
I asked this myself recently. Sadly, it's not supported. For now I'm using this script myself: https://github.com/milianw/shell-helpers/blob/master/run_lttng_trace.sh You may want to enable events explicitly, instead of enabling all of them. These traces can become quite large. Cheers -- Milian Wolff | milian.wo...@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt, C++ and OpenGL Experts
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev