News for hackers. Stuff that matters.
Re:Tokio Console by billfruit on Friday December 17, 2021 @01:07PM (#29595848)
Yes truly, is there something like this for linux threads and processes?
Re:Tokio Console by pkaye on Friday December 17, 2021 @01:36PM (#29596296)
The Linux Perf tool is pretty powerful. I've barely just scratched the surface myself.

https://perf.wiki.kernel.org/index.php/Main_Page

As as a side note, Go and pretty good profiling tools. You can see a trace of goroutine execution and why a goroutine got scheduled out and when GC kicks in.

https://about.sourcegraph.com/go/an-introduction-to-go-tool-...

Re:Tokio Console by mycoliza on Saturday December 18, 2021 @05:11PM (#29609058)
A lot of the Tokio console UI was inspired by `htop`, which provides a pretty similar overview of processes and threads. It doesn't really have the same ability to inspect things like `pthread_mutex` and timerfds etc in the same way that the Tokio console can inspect the state of `tokio::sync::Mutex` and `tokio::time::Sleep`, though; although I wonder if something like that could be possible with eBPF...