Re: [PATCH v9 0/4] perf sched latency: Refine outputs, unit scaling, and histogram support

From: Namhyung Kim

Date: Fri Aug 07 2026 - 19:53:50 EST


On Thu, 06 Aug 2026 11:39:22 -0400, Aaron Tomlin wrote:
> This patch series improves 'perf sched latency' by suppressing misleading
> empty table output, extending pipe mode stream processing, introducing
> dynamic unit auto-scaling for latency and runtime statistics, and adding
> latency histogram visualisation alongside time-span filtering.
>
> Patch 1 addresses an issue where 'perf sched latency' fell through and
> returned success (0) when perf_session__has_traces() failed due to missing
> tracepoint events in a perf.data file. This caused empty header tables and
> zeroed summary statistics to be rendered. In addition,
> thread__get_runtime() in map_switch_event() is guarded against potential
> NULL pointer dereferences under memory allocation failures.
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung