pi@raspberrypi:~/perf-map-agent $ make
[ 50%] Built target perfmap
[ 66%] Building Java objects for attach-main.jar
error: error reading /home/pi/jdk1.8.0_181/lib/ct.sym; cannot read zip file
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
make[2]: *** [CMakeFiles/attach-main.dir/build.make:70: CMakeFiles/attach-main.dir/java_compiled_attach-main] Error 3
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/attach-main.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
The ct.sym file is there.
Edit: The libperfmap.so is correctly compiled, it's the generation of the http://fem.rupy.se/attach-main.jar that fails, luckily I had it from a previous compile all it does is to attach libperfmap.so to the JVM.
So I manage to get most things working but when I run sudo perf script > out.perf I get:
Failed to open /home/pi/jdk1.8.0_181/jre/lib/rt.jar, continuing without symbols
So the Java SE methods do not get replaced properly but you can guess what they are, the dumped ones however do: http://move.rupy.se/file/graph.svg
The
ct.sym
file is there. Edit: Thelibperfmap.so
is correctly compiled, it's the generation of the http://fem.rupy.se/attach-main.jar that fails, luckily I had it from a previous compile all it does is to attach libperfmap.so to the JVM. So I manage to get most things working but when I runsudo perf script > out.perf
I get:Failed to open /home/pi/jdk1.8.0_181/jre/lib/rt.jar, continuing without symbols
So the Java SE methods do not get replaced properly but you can guess what they are, the dumped ones however do: http://move.rupy.se/file/graph.svg