It would be useful to be able to aggregate stacks based on (e.g.) package name. Something like: ./heap-alloc-flames $PID -g "org.hibernate.*" this will reduce the number of flames, making rendering quicker.