New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Used the same libasyncProfiler.so to profile event alloc twice in different the path,the second time failed with “[ERROR] Could not set dlopen hook” #701
Comments
Currently async-profiler cannot be loaded twice from different locations. |
Hi Andrei, I reproduced the problem. Actually, I could profile cpu event from different locations, it works properly, and the process loaded libasyncProfiler.so more than twice. But for alloc event, it indeed can't. Is there any difference between them
|
Hi Team;
env:
when we used the same
libasyncProfiler.so
to profile event alloc twice in defferent path./profiler.sh -d 5 -e alloc 2735959
everything would be ok,and the process has loaded thelibasyncProfiler.so
correctly。libasyncProfiler.so
,and build it in another directory../profiler.sh -d 5 -e alloc 2735959
failed with “[ERROR] Could not set dlopen hook”cat /proc/PID/smaps | grep libasyncProfiler.so
The text was updated successfully, but these errors were encountered: