Re: [PATCH v9 0/4] perf sched latency: Refine outputs, unit scaling, and histogram support
From: Aaron Tomlin
Date: Tue Aug 11 2026 - 08:16:15 EST
On Fri, Aug 07, 2026 at 04:52:31PM -0700, Namhyung Kim wrote:
> 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
>
Hi Namhyung,
Thanks!
--
Aaron Tomlin