[lttng-dev] Monitor user space threads without user events

Zvi Vered veredz72 at gmail.com
Sat Apr 6 00:20:28 EDT 2024


Hello,

My user space process contains 2 threads:

First thread is blocked upon a kernel event created by a hardware interrupt
handled by the kernel.
The  thread is sending ioctl which is blocked till this interrupt occurs.

Second thread has just a 5msec sleep. It does something and then sleeps for
5msec. Forever.

Is it possible to see when each thread is running (and not blocked or
sleeps) ?
I know how to do it with user events. I wonder if it's possible without any
extra code.

Thank you,
Zvika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20240406/7c0eb95a/attachment.htm>


More information about the lttng-dev mailing list