Hi Zvika,
with a session that has kernel events enabled, I think you could use the
sched_switch event.
thanks,
kienan
On 4/6/24 12:20 AM, Zvi Vered via lttng-dev wrote:
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
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev