Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Beginner question: how to inspect scheduling of multi-threaded user application?
@ 2016-08-24  7:17 David Aldrich
  2016-08-24 16:17 ` Francis Deslauriers
  0 siblings, 1 reply; 6+ messages in thread
From: David Aldrich @ 2016-08-24  7:17 UTC (permalink / raw)


Hi

I am new to tracing in Linux and to lttng. I have a multi-threaded user application and I want to see:


1)      When the threads are scheduled to run

2)      Which cores the threads are running on.

I have installed lttng on Ubuntu 14.04 LTS.  I am expecting to visualise the trace using TraceCompass.

I have read the following doc section:

http://lttng.org/docs/#doc-tracing-your-own-user-application

In order to collect my trace, must I define custom tracepoint definitions ( in a tracepoint provider header file ), and insert tracepoints into my user application, or is there a simpler way of achieving my goal?

Best regards

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20160824/95d16699/attachment-0001.html>


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

end of thread, other threads:[~2016-08-26 14:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24  7:17 [lttng-dev] Beginner question: how to inspect scheduling of multi-threaded user application? David Aldrich
2016-08-24 16:17 ` Francis Deslauriers
2016-08-24 16:35   ` Jonathan Rajotte
2016-08-24 16:39     ` Jonathan Rajotte
2016-08-26  7:49       ` David Aldrich
2016-08-26 14:53         ` Jonathan Rajotte Julien

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