Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: michel.dagenais@polymtl.ca (Michel Dagenais)
Subject: [lttng-dev] Monitor threads with lttng
Date: Wed, 15 May 2019 13:21:09 -0400 (EDT)	[thread overview]
Message-ID: <2013253114.9075074.1557940869814.JavaMail.zimbra@polymtl.ca> (raw)
In-Reply-To: <CABRndgyfAyQ=t1==vPY9UHv8wZjMhrsu9bOtnwLu6f=ARjEj4w@mail.gmail.com>

On Linux, with pthreads, thread scheduling takes place in the kernel. You can then obtain this information through lttng tracing in the kernel domain (scheduling events) and view the trace in Trace Compass. 

----- Le 15 Mai 19, ? 12:42, Zvi Vered <veredz72 at gmail.com> a ?crit : 

> Hello,
> Can I use lttng to monitor threads in my process ?
> For example, I want to see when a thread is active and when it is blocked
> (waiting for a signal or an IOCL to complete).

> Is it possible doing it without linking the application with libust and calling
> UST API ?

> Thank you,
> Zvika

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190515/3e59850e/attachment.html>


      reply	other threads:[~2019-05-15 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-15 16:42 Zvi Vered
2019-05-15 17:21 ` Michel Dagenais [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2013253114.9075074.1557940869814.JavaMail.zimbra@polymtl.ca \
    --to=michel.dagenais@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox