From mboxrd@z Thu Jan 1 00:00:00 1970 From: milian.wolff@kdab.com (Milian Wolff) Date: Wed, 15 May 2019 22:08:18 +0200 Subject: [lttng-dev] Tracing a userspace app from startup In-Reply-To: References: Message-ID: <27361403.iBIxfkJtIM@agathebauer> 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 -- > > 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.wolff at kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt, C++ and OpenGL Experts -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3826 bytes Desc: not available URL: