I was doing an opagent implementation for the cacao jvm and as such installed oprofile 0.9.4 into my home (--prefix=/home/rschus/INSTALL/oprofile).
I found these error messages in the oprofiled.log:
Failed to exec /home/rschus/INSTALL/oprofile/bin//opjitconv: No such file or directory
JIT dump processing exited abnormally: 1
This made samples taken in JIT compiled code not show up in the summaries.
By looking at daemon/init.c I found out that you should provide opjitconv_path as the first argument to the execvp() function instead of "opjitconv" (which should go into the first place in the argument array then).
With that change the error messages in the log disappeared and instead the samples taken in the JIT compiled code showed up in the summaries. Yay!
Attached is patch is used.
If you need this signed of line:
Signed-off-by: Robert Schuster <firstname.lastname@example.org>