Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Tracing a userspace app from startup
@ 2019-05-15 10:16 Jones, Tim
  2019-05-15 20:08 ` Milian Wolff
  0 siblings, 1 reply; 2+ messages in thread
From: Jones, Tim @ 2019-05-15 10:16 UTC (permalink / raw)


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!?

Cheers,

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190515/4984b860/attachment-0001.html>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [lttng-dev] Tracing a userspace app from startup
  2019-05-15 10:16 [lttng-dev] Tracing a userspace app from startup Jones, Tim
@ 2019-05-15 20:08 ` Milian Wolff
  0 siblings, 0 replies; 2+ messages in thread
From: Milian Wolff @ 2019-05-15 20:08 UTC (permalink / raw)


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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-15 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-15 10:16 [lttng-dev] Tracing a userspace app from startup Jones, Tim
2019-05-15 20:08 ` Milian Wolff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox