Commit 5af2628
CKI KWF Bot
Merge: [redhat] perf: switch back to static linking of libbpf
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/7496
JIRA: https://issues.redhat.com/browse/RHEL-121921
Upstream: RHEL-only
description
===========
Revisiting the approach of libbpf linking in perf: Since the core
of libbpf code lies in the same repository/SRPM as perf comes from,
the problem with having to rebuild perf once a bug is fixed in the
library is not a thing. So finally, through the libbpf package we
got the fixes later than when linked statically against the library
from the same source tree. Static linking also allows us to adapt
to API changes instantly. Finally, this change aligns with what we
have in Fedora/ARK now.
With this change, perf is no more dependent on libbpf{,-devel} RPM.
Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Approved-by: ashelat <ashelat@redhat.com>
Approved-by: tallison1 <tallison@redhat.com>
Approved-by: Eder Zulian <ezulian@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
648 | 647 | | |
649 | 648 | | |
650 | 649 | | |
| |||
2623 | 2622 | | |
2624 | 2623 | | |
2625 | 2624 | | |
2626 | | - | |
| 2625 | + | |
2627 | 2626 | | |
2628 | 2627 | | |
2629 | 2628 | | |
| |||
0 commit comments