perf jevents: Deterministic build fix and mypy cleanliness
Status from this message: Applied to perf-tools-next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf jevents: Add more components to the metric sorting ordertools/ tools/ | +8 | 2 replies | |
| 2/3 | perf jevents: Add python type annotationstools/ | +45 | 4 replies | |
| 3/3 | perf jevents metric: Add python type annotationstools/ | +9 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Nazar Kazakov |
|---|---|
| 1/3 | T-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/3] perf jevents: Deterministic build fix and mypy cleanliness
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
tools/perf/pmu-events/jevents.py | 82 +++++++++++++++++++------------- tools/perf/pmu-events/metric.py | 23 +++++---- 2 files changed, 62 insertions(+), 43 deletions(-)
Signature · 1 line
2.55.0.795.g602f6c329a-goog