perf genelf: BLAKE2s build ID generation
Status from this message: Thanks, applied to perf-tools-next,
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- Split into three patches
- Improved a couple comments
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf util: Add BLAKE2s supporttools/ tools/ tools/ +1 more | +302 | 2 replies | |
| 2/3 | perf genelf: Switch from SHA-1 to BLAKE2s for build ID generationtools/ | +28 | 0 replies | |
| 3/3 | perf util: Remove SHA-1 codetools/ tools/ tools/ +1 more | +0 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ian Rogers | Namhyung Kim |
|---|---|---|
| Series | A-b | |
| 1/3 | T-b | |
| 2/3 | T-b | |
| 3/3 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] perf genelf: BLAKE2s build ID generation
This series upgrades perf's build ID generation to a more modern hash algorithm and switches to an incremental hashing API.
It also fixes an issue where different (code, symtab, strsym) tuples didn't necessarily result in different hashes.
Note that the size of the build ID field stays the same.
This applies to the perf-tools-next branch of
https://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next.git
Changed in v2:
- Split into three patches
- Improved a couple comments
Eric Biggers (3):
perf util: Add BLAKE2s support
perf genelf: Switch from SHA-1 to BLAKE2s for build ID generation perf util: Remove SHA-1 code
tools/perf/tests/util.c | 85 +++++++++++++-------- tools/perf/util/Build | 2 +- tools/perf/util/blake2s.c | 151 ++++++++++++++++++++++++++++++++++++++ tools/perf/util/blake2s.h | 73 ++++++++++++++++++ tools/perf/util/genelf.c | 58 +++++++-------- tools/perf/util/sha1.c | 97 ------------------------ tools/perf/util/sha1.h | 6 -- 7 files changed, 309 insertions(+), 163 deletions(-) create mode 100644 tools/perf/util/blake2s.c create mode 100644 tools/perf/util/blake2s.h delete mode 100644 tools/perf/util/sha1.c delete mode 100644 tools/perf/util/sha1.h
base-commit: 2eeb09fe1c5173b659929f92fee4461796ca8c14
Signature · 1 line
2.52.0