Commit b3f48ab
committed
[redhat] perf: switch back to static linking of libbpf
JIRA: https://issues.redhat.com/browse/RHEL-121919
Upstream Status: 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>1 parent b8bd692 commit b3f48ab
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
754 | 753 | | |
755 | 754 | | |
756 | 755 | | |
| |||
3101 | 3100 | | |
3102 | 3101 | | |
3103 | 3102 | | |
3104 | | - | |
| 3103 | + | |
3105 | 3104 | | |
3106 | 3105 | | |
3107 | 3106 | | |
| |||
0 commit comments