Skip to content

perf: Remove libcrypto dependency

Eric Biggers linux-perf-users lkml 2 versions – Applied

Status from this message: Applied to perf-tools-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesApplied
  2. v24 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Rebased onto perf-tools-next
- Removed unnecessary parentheses in array indices in sha1.c
- Updated my email address. I've started consistently using my kernel.org email address.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4perf build: enable -fno-strict-aliasingtools/perf/Makefile.config+4 -01 reply
2/4perf util: add a basic SHA-1 implementationtools/perf/tests/util.c tools/perf/util/Build tools/perf/util/sha1.c +1 more+148 -10 replies
3/4perf genelf: Remove libcrypto dependency and use built-in sha1()tools/perf/util/genelf.c+3 -820 replies
4/4tools: Remove libcrypto dependencytools/build/Makefile.feature tools/build/feature/Makefile tools/build/feature/test-all.c +6 more+1 -570 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan Rogers
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] perf: Remove libcrypto dependency

This is a reworked version of
https://lore.kernel.org/all/[email protected]/.
I've changed it to add a new minimal SHA-1 implementation, instead of trying to pull in the kernel's SHA-1 implementation which is not really designed to be extracted into userspace programs. I also added a test.

Changed in v3:
- Rebased onto perf-tools-next
- Removed unnecessary parentheses in array indices in sha1.c
- Updated my email address. I've started consistently using my kernel.org email address.

Eric Biggers (2):
perf build: enable -fno-strict-aliasing
perf util: add a basic SHA-1 implementation

Yuzhuo Jing (2):
perf genelf: Remove libcrypto dependency and use built-in sha1()
tools: Remove libcrypto dependency

 tools/build/Makefile.feature            |  2 -
 tools/build/feature/Makefile            |  4 -
 tools/build/feature/test-all.c          |  5 --
 tools/build/feature/test-libcrypto.c    | 25 -------
 tools/perf/Documentation/perf-check.txt |  1 -
 tools/perf/Makefile.config              | 17 +----
 tools/perf/Makefile.perf                |  3 -
 tools/perf/builtin-check.c              |  1 -
 tools/perf/tests/make                   |  4 +-
 tools/perf/tests/util.c                 | 45 +++++++++++-
 tools/perf/util/Build                   |  1 +
 tools/perf/util/genelf.c                | 85 +---------------------
 tools/perf/util/sha1.c                  | 97 +++++++++++++++++++++++++
 tools/perf/util/sha1.h                  |  6 ++
 14 files changed, 156 insertions(+), 140 deletions(-)
 delete mode 100644 tools/build/feature/test-libcrypto.c
 create mode 100644 tools/perf/util/sha1.c
 create mode 100644 tools/perf/util/sha1.h

base-commit: 9c9f4a27eb1096beb650f312a1ce996a9960b56c

Signature · 1 line
2.50.0