Commit 392e272
committed
[redhat] perf: switch back to static linking of libbpf
JIRA: https://issues.redhat.com/browse/RHEL-121921
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 ec6a7a1 commit 392e272
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 | | |
| |||
2613 | 2612 | | |
2614 | 2613 | | |
2615 | 2614 | | |
2616 | | - | |
| 2615 | + | |
2617 | 2616 | | |
2618 | 2617 | | |
2619 | 2618 | | |
| |||
0 commit comments