Re: [PATCH 1/2] perf ftrace latency: variable histogram buckets

From: Namhyung Kim
Date: Thu Feb 27 2025 - 11:55:15 EST


On Fri, 07 Feb 2025 09:04:44 +0100, Gabriele Monaco wrote:
> The max-latency value can make the histogram smaller, but not larger, we
> have a maximum of 22 buckets and specifying a max-latency that would
> require more buckets has no effect.
>
> Dynamically allocate the buckets and compute the bucket number from the
> max latency as (max-min) / range + 2
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung