namhyung / uftrace

Function graph tracer for C/C++/Rust/Python
https://uftrace.github.io/slide/
GNU General Public License v2.0
3.06k stars 473 forks source link

How to show function calling process in real time? #1944

Open bootbool opened 3 months ago

bootbool commented 3 months ago

The uftrace live tool only shows the results of function calling stack after the program finishes execution. It misses the live meaning. So can you teach me how to show the calling process during execution in real time ? thanks.

yskelg commented 3 months ago

This requires a lot of development in many code.

Also, it’s close to near real-time, but not truly real-time. I think we need a staging process for the recorded data. To test it easily, a good starting point would be to break the program using gdb and then run uftrace replay in the relevant directory.