jvm-profiling-tools / perf-map-agent

A java agent to generate method mappings to use with the linux `perf` tool
GNU General Public License v2.0
1.65k stars 260 forks source link

perf script using perf-java-report-stack output will get "Misordered timestamps: 0" #66

Open pinkdawn opened 6 years ago

pinkdawn commented 6 years ago

jdk: OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode) cmake: version 2.8.12.2 perf: version 3.10.0-693.11.1.el7.x86_64.debug OS: centOS 7

After using perf-java-record-stack <pid> get output in \tmp\perf-<pid>.data, but using perf script -i /tmp/perf-<pid>.data -d will result in Misordered timestamps: 0. If perf script not run in debug mod, nothing happens and got an empty stack file.

perf-java-top <pid> and perf-java-report-stack <pid> works as expected, but sometimes fail with empty sample, I guess that is normal.

I try this in several machine I've got, all the same.

Attached my .data and .map file. perf-11484.zip