Whole system statistical profiling might not be possible without kernel support, which makes this hard given the number of kernels Genode runs on.
well, the CPU session interface provides a facility to query thread-state information including the program counter. By virtualizing this interface, the program counter of all CPU sessions of a sub system could be sampled quite easily. But the question is what to do with this data? One would need tooling support to visualize the distribution of the sampled program-counter values, showing the function names, or presenting backtraces in an expressive manner.
Norman