3 ms·
It also samples the whole system, including the kernel. In embedded programming, a significant part of your application's time might be spent in some kernel rou
by larve 10y ago
It also samples the whole system, including the kernel. In embedded programming, a significant part of your application's time might be spent in some kernel routines, or servicing interrupts, and perf makes it extremely easy to figure it out. It can also trace arbitrary counters, even probes that the user can define. So for example, I can sample the number of bytes received over USB or other metrics like this. Tremendously useful.
edited: typo