Y
Hacker News
new
|
ask
|
show
|
jobs
by
titzer
1219 days ago
Why is profiling done in the kernel for userspace stacks?
1 comments
zznzz
1219 days ago
because this is about PMU based sampling, which involves triggering interrupts at some interval and doing the sampling while handling the interrupt
link
titzer
1218 days ago
Other 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?
link