The Generic Callstack plugin provides the possibility to describe and analyze call stacks, ie the subroutines and function calls a program is in. But it can be generalized to any concept in the application that can be stacked.

For example, if an application uses a thread pool to send jobs that are instrumented, the data can be analyzed in such a way that it is grouped not per thread or process, but by what the ongoing job does.