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

cannot parse log #251

Open weberjn opened 6 years ago

weberjn commented 6 years ago

I could run the agent, the agent reacts on remote control interface and creates a log, but I cannot parse the log:

$ java -cp honest-profiler.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-2.b14.el7.x86_64/lib/tools.jar com.insightfullogic.honest_profiler.ports.console.ConsoleApplication -log log.hpl Printing Profile for: /jboss-eap-7.1/bin/log.hpl 16:57:17.416 [main] DEBUG com.insightfullogic.honest_profiler.core.Conductor - Reached end of log for FileLogSource{file=log.hpl} due to NOTHING Number of stack traces: 5

Flat Profile (by method): (t 80.0,s 80.0) AGCT::Unknown not Java[ERR=-3] (t 20.0,s 20.0) NKNOW::46377448

Flat Profile (by line): (t 80.0,s 80.0) AGCT::Unknown not Java[ERR=-3] @ (bci=-1,line=-100) (t 20.0,s 20.0) NKNOW::46377448 @ (bci=16,line=140)

Tree Profile: (t 100.0,s 100.0) AGCT::Unknown not Java[ERR=-3] (t 100.0,s 100.0) AGCT::Unknown not Java[ERR=-3] (t 100.0,s 100.0) AGCT::Unknown not Java[ERR=-3] NULL FRAME ERR

$ ls -hl log.hpl -rw-rw---- 1 user user 16M Aug 24 16:40 log.hpl