-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Description
I built an async-profiler from sources (there was quite long period of nice features on master without releases)
When I try to use asprof
it fails to execute action, but dodesn't show any error.
Example with status
:
~ $ local-async-profiler/bin/asprof status 5385
~ $ async-profiler-3.0-linux-x64/bin/asprof status 5385
Profiler is not active
It's much more confusing when you profile:
~ $ async-profiler-3.0-linux-x64/bin/asprof -d 10 5385
Profiling for 10 seconds
Done
--- Execution profile ---
Total samples : 14
....
~ $ local-async-profiler/bin/asprof status -d 10 5385
<<empty after 10 seconds>>
In my case root cause is
bin/../lib/libasyncProfiler.so was not loaded.
/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by local-async-profilerbin/../lib/libasyncProfiler.so)