You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on profiling Ranch protocol handler which is implemented as gen_statem. Currently I am tracing all handle_event/4 function calls, but that results in a lot of separate traces and it is hard to see overall picture. Would it be possible to trace single process (ideally running it from source code)? It would make profiling such code way easier than current workaround (I have tried monitoring enter_loop which I use, but that never produced any output).
The text was updated successfully, but these errors were encountered:
I want to listen for all calls within given PID. Alternatively (in this particular case) if there would be a possibility for time limit (like in #48) then I could listen on enter_loop (which never exits) and then limit it by elapsed time.
I am working on profiling Ranch protocol handler which is implemented as
gen_statem
. Currently I am tracing allhandle_event/4
function calls, but that results in a lot of separate traces and it is hard to see overall picture. Would it be possible to trace single process (ideally running it from source code)? It would make profiling such code way easier than current workaround (I have tried monitoringenter_loop
which I use, but that never produced any output).The text was updated successfully, but these errors were encountered: