Bug 1957210
| Summary: | Link perf dynamically against libbpf | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Michael Petlan <mpetlan> |
| Component: | kernel | Assignee: | Michael Petlan <mpetlan> |
| kernel sub component: | Perf | QA Contact: | Ziqian SUN (Zamir) <zsun> |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | acme, bsalon, hkrzesin, jolsa, xiawu |
| Version: | 9.0 | Keywords: | Triaged |
| Target Milestone: | beta | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | kernel-5.13.0-0.rc2.19.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-12-07 21:55:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Michael Petlan
2021-05-05 11:53:32 UTC
Verified as FIXED with perf-5.13.0-0.rc4.33.el9. Now nm reports bpf symbols as dynamic, and libbpf is a dependency of perf in terms of RPM now.
[root@zsun-rhel9vm ~]# rpm -q perf
perf-5.13.0-0.rc4.33.el9.x86_64
[root@zsun-rhel9vm ~]# nm /usr/bin/perf
nm: /usr/bin/perf: no symbols
[root@zsun-rhel9vm ~]# nm -D /usr/bin/perf | grep -i bpf | head
U bpf_load_program.1
U bpf_map__def.1
U bpf_map__fd.1
U bpf_map_get_next_key.1
U bpf_map_lookup_elem.1
U bpf_map__name.1
U bpf_map__next.1
U bpf_map__priv.1
U bpf_map__set_priv.1
U bpf_map_update_elem.1
# dnf remove libbpf
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Dependencies resolved.
=========================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================
Removing:
libbpf x86_64 2:0.3.0-3.el9 @pek2-BaseOS 248 k
Removing dependent packages:
perf x86_64 5.13.0-0.rc4.33.el9 @pek2-AppStream 11 M
Removing unused dependencies:
libbabeltrace x86_64 1.5.8-7.el9 @pek2-AppStream 519 k
libtraceevent x86_64 1.1.1-4.el9 @pek2-BaseOS 1.2 M
perl-lib x86_64 0.65-476.el9 @pek2-AppStream 9.4 k
Transaction Summary
=========================================================================================================================================================================================
Remove 5 Packages
Freed space: 13 M
Is this ok [y/N]: n
Operation aborted.
|