[lttng-dev] Tracing a userspace app from startup
Milian Wolff
milian.wolff at kdab.com
Wed May 15 16:08:18 EDT 2019
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.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: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190515/aab7c7dc/attachment.bin>
More information about the lttng-dev
mailing list