For more involved user space tracing I highly recommend https://github.com/wolfpld/tracy
It is a different approach and probably already has all the bells and whistles you require.
For more involved user space tracing I highly recommend https://github.com/wolfpld/tracy
It is a different approach and probably already has all the bells and whistles you require.