diff options
| author | Yuzhuo Jing <[email protected]> | 2025-06-25 20:23:10 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2025-06-26 17:51:40 +0000 |
| commit | e3f612c1d8f3945bb0cc8aad173fc12a3b20dc2a (patch) | |
| tree | 467a154e620bae819efbe5ffc8ad0943ca0bba2d /tools/perf/util/annotate.c | |
| parent | perf util: add a basic SHA-1 implementation (diff) | |
| download | kernel-e3f612c1d8f3945bb0cc8aad173fc12a3b20dc2a.tar.gz kernel-e3f612c1d8f3945bb0cc8aad173fc12a3b20dc2a.zip | |
perf genelf: Remove libcrypto dependency and use built-in sha1()
genelf is the only file in perf that depends on libcrypto (or openssl)
which only calculates a Build ID (SHA1, MD5, or URANDOM). SHA1 was
expected to be the default option, but MD5 was used by default due to
previous issues when linking against Java. This commit switches genelf
to use the in-house sha1(), and also removes MD5 and URANDOM options
since we have a reliable SHA1 implementation to rely on. It passes the
tools/perf/tests/shell/test_java_symbol.sh test.
Signed-off-by: Yuzhuo Jing <[email protected]>
Co-developed-by: Eric Biggers <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
