4.13.0-12

Add libpfm-monaka-v1.1.patch
Add libpfm-monaka.patch

Resolves: RHEL-178450
This commit is contained in:
Aaron Merey 2026-06-05 11:35:17 -04:00
parent d5e7f5ae72
commit de3f1cbb37
No known key found for this signature in database
GPG Key ID: 74FD3FA2779E7073
3 changed files with 4468 additions and 1 deletions

1271
libpfm-monaka-v1.1.patch Normal file

File diff suppressed because it is too large Load Diff

3189
libpfm-monaka.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@
Name: libpfm
Version: 4.13.0
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Library to encode performance events for use by perf tool
@ -22,6 +22,8 @@ Source0: http://sourceforge.net/projects/perfmon2/files/libpfm4/%{name}-%{versio
Patch1: libpfm-ibm-counters.patch
Patch2: libpfm-python3-setup.patch
Patch3: libpfm-gcc14.patch
Patch4: libpfm-monaka.patch
Patch5: libpfm-monaka-v1.1.patch
BuildRequires: make
BuildRequires: gcc
@ -78,6 +80,8 @@ Python bindings for libpfm4 and perf_event_open system call.
%patch -P1 -p1 -b .ibm
%patch -P2 -p1 -b .python3
%patch -P3 -p1 -b .gcc14
%patch -P4 -p1 -b .monaka
%patch -P5 -p1 -b .monaka-v1.1
# to prevent setuptools from installing an .egg, we need to pass --root to setup.py install
# see https://github.com/pypa/setuptools/issues/3143
# and https://github.com/pypa/pip/issues/11501
@ -137,6 +141,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/lib*.a
%endif
%changelog
* Wed May 20 2026 Aaron Merey <amerey@redhat.com> - 4.13.0-12
- Add support for Fujitsu FUJITSU-MONAKA core PMU
* Mon Jan 19 2026 Aaron Merey <amerey@redhat.com> - 4.13.0-11
- Add libpfm-ibm-counters.patch