Get the latest tech news
Linux 6.15 Perf Tooling Introduces New Support For Latency Profiling
The perf tools changes were merged today for the Linux 6.15 kernel
Most notable this cycle for the wonderful perf tooling is introducing the notion of latency profiling by leveraging kernel scheduler information. By tracking context switches, it can weight samples and find which part of the code contributed more to the execution latency. ... Brief outline of the implementation: - add context switch collection during record - calculate number of threads running on CPUs (parallelism level) during report - divide each sample weight by the parallelism level This effectively models that we were taking 1 sample per unit of wall-clock time.
Or read this on Phoronix