grav
grav copied to clipboard
aggregate stacks based on regex
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.
Filtering based on regex makes sense. It allows you to focus on various allocations coming from a specific package. Aggregating in this case has the downside of losing important information.
What do you think?