News for hackers. Stuff that matters.
Re:Frame pointers vs. DWARF – my verdict by titzer on Wednesday February 15, 2023 @10:59AM (#34805580)
Why is profiling done in the kernel for userspace stacks?
Re:Frame pointers vs. DWARF – my verdict by zznzz on Wednesday February 15, 2023 @12:30PM (#34807375)
because this is about PMU based sampling, which involves triggering interrupts at some interval and doing the sampling while handling the interrupt
Re:Frame pointers vs. DWARF – my verdict by titzer on Thursday February 16, 2023 @09:45AM (#34819266)
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?