Vagrantfile, scripts, and JMeter test plan, illustrating how to generate mixed mode java flame graphs for Tomcat. This accompanies my blog post. See the Java in Flames post on the Nextflix blog for more information.
Need VirtualBox and Vagrant installed. Require JMeter 3.1+ to apply load to Tomcat, which requires Java JRE.
git clone https://github.com/jerometerry/perf.git
cd ./perf
vagrant up
Open JMeter, and load the FlameGraph.jmx test plan, then hit the run button (might need to tweak test plan based on your setup).
vagrant ssh
sudo ./generate-flamegraph.sh
./copy-flamegraph-to-host.sh
exit
flamegraph.svg should be copied from the VM to the perf folder you cloned this repo into.