3 ms·
Why is profiling done in the kernel for userspace stacks?
by titzer 4y ago
Why is profiling done in the kernel for userspace stacks?
- zznzz 4y agobecause this is about PMU based sampling, which involves triggering interrupts at some interval and doing the sampling while handling the interrupt
- titzer 4y agoOther than overhead, what is the advantage as opposed to handling the interrupt in the kernel and then delivering a signal to userspace? After all, isn't this the role of SIGPROF?