Re: [PATCH v1 0/3] perf jevents: Deterministic build fix and mypy cleanliness
From: Namhyung Kim
Date: Fri Jul 17 2026 - 13:48:25 EST
On Mon, Jul 06, 2026 at 08:40:16PM -0700, Ian Rogers wrote:
> Nazar Kazakov reported non-deterministic builds due to the metrics
> being reordered in the jevents.py output. Fix by sorting metrics on
> more than just their name.
>
> Checking the code with mypy showed a large range of type warnings. Fix
> by largely adding asserts that values aren't None and by adding type
> annotations.
>
> Ian Rogers (3):
> perf jevents: Add more components to the metric sorting order
> perf jevents: Add python type annotations
> perf jevents metric: Add python type annotations
Applied to perf-tools-next, thanks!
Best regards,
Namhyung