jvm-profiling-tools / honest-profiler

A sampling JVM profiler without the safepoint sample bias
https://github.com/RichardWarburton/honest-profiler/wiki
MIT License
1.25k stars 146 forks source link

Scheduling profiler interval failed with error 22 #258

Closed mbimbij closed 5 years ago

mbimbij commented 5 years ago

Hello,

Starting sampling Scheduling profiler interval failed with error 22

I'm on the "embedded Ubuntu" on windows 10 and that error happens when i try to sample some springboot app.

the command i use is : java -agentpath:/home/{user}/honest-profiler/build/liblagent.so=interval=7,logPath={myModule_home}/log.hpl -jar target/{myModule}.jar

i did not encouter that problem on centOS. Any idea ?

RichardWarburton commented 5 years ago

I don't think you can use sigprof under WSL. I've tried before myself and it didn't work.