code-profiling

Linux perf events profiling in Google Compute Engine not working

雨燕双飞 提交于 2020-06-12 09:07:23
问题 I'm new to using Google Compute Engine. I'd like to use the Linux perf tool to do some various perf events measurements of my application and eventually sample profiling. I've installed the linux perf tool on my Ubuntu 16.04 LTS VM. However even basic events like cycles show up as "not supported". I'm guessing that the underlying KVM hypervisor does not have virtual PMU support enabled, although I believe KVM does support this with a non-default flag setting. Is there any way to get this

VisualVM Calibration Step Hangs with Windows 10

和自甴很熟 提交于 2019-12-05 16:47:46
问题 Situation: I have installed VisualVM 1.3.8 on my Windows 10 Anniversary Edition (and not using the one that came with the JDK 8). I would like to use this to Profile a Java (Play) App. What Happens: When starting the CPU profiling, it first asks that I need to calibrate, and when that happens it hangs at the stage. The Display showing the hanging What I Have Tried: I tried this on MacOS 8, and it does go through the calibration steps OK. I have edited the etc/visualvm.conf to disable the d3d

VisualVM Calibration Step Hangs with Windows 10

对着背影说爱祢 提交于 2019-12-04 02:18:48
Situation: I have installed VisualVM 1.3.8 on my Windows 10 Anniversary Edition (and not using the one that came with the JDK 8). I would like to use this to Profile a Java (Play) App. What Happens: When starting the CPU profiling, it first asks that I need to calibrate, and when that happens it hangs at the stage. The Display showing the hanging What I Have Tried: I tried this on MacOS 8, and it does go through the calibration steps OK. I have edited the etc/visualvm.conf to disable the d3d pipline feature. visualvm_default_options="-J-Dsun.java2d.d3d=false -J-client -J-Xms24m -J-Xmx256m -J