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

Add a verbose mode for easier troubleshooting and log error messages #34

Open nitsanw opened 8 years ago

nitsanw commented 8 years ago

Currently PMA fails or succeeds silently. When things are good this is a non-issue, when something doesn't work you probably want to see a bit more output. I've played around with the idea and would like to log:

  1. Any JVMTI failure
  2. Agent method processing time
  3. At debug level add a per method printout of some form?

Ideas and feedback before I turn this into a PR?

jrudolph commented 8 years ago

Yes, all of these points certainly makes sense. In #35, I will add a debug option to output full inline info to the console but this can certainly somewhat improved.