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
Using 6ab9f83
Running LD_PRELOAD=libasyncProfiler.so ASPROF_COMMAND="start,event=cpu,file=test.html,timeout=5" glxgears doesn't ever write test.html.
This is because the timer thread uses _agent_args instead of _preload_args, regardless of what actually started the Profiler. Making everything use a single Arguments instance seems to work correctly.
The text was updated successfully, but these errors were encountered:
Thanks, the problem is understood. I'll see how to fix it.
As a workaround, you may use jfr output format (i.e. replace file=test.html with file=test.jfr). In this case, profiler will correctly stop and dump results after the given timeout. You may then use converter.jar to convert jfr to a flame graph.
Using 6ab9f83
Running
LD_PRELOAD=libasyncProfiler.so ASPROF_COMMAND="start,event=cpu,file=test.html,timeout=5" glxgears
doesn't ever writetest.html
.This is because the timer thread uses
_agent_args
instead of_preload_args
, regardless of what actually started the Profiler. Making everything use a singleArguments
instance seems to work correctly.The text was updated successfully, but these errors were encountered: