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.64k stars 260 forks source link

Allow to compile on OSX as well and be able to use it with dtrace. #57

Closed normanmaurer closed 6 years ago

normanmaurer commented 6 years ago

This patch together with https://github.com/brendangregg/FlameGraph/pull/143 allows to also generate nice flame graphs on macOS via dtrace.

For example ./dtrace-java-flames 53183 (on a netty echo server) produces something like:

screen shot 2017-08-17 at 20 09 02

nitsanw commented 6 years ago

LGTM, and I assume @normanmaurer has tested on MacOS to verify the scripts.

normanmaurer commented 6 years ago

You bet buddy 👌

Am 19.08.2017 um 19:54 schrieb Nitsan Wakart notifications@github.com:

LGTM, and I assume @normanmaurer has tested on MacOS to verify the scripts.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.