a8f1348
# Much of this is borrowed from the original kernel.spec
a8f1348
# It needs a bunch of the macros for rawhide vs. not-rawhide builds.
a8f1348
a8f1348
# For a stable, released kernel, released_kernel should be 1. For rawhide
a8f1348
# and/or a kernel built from an rc or git snapshot, released_kernel should
a8f1348
# be 0.
8ea5c34
%global released_kernel 1
fcc2188
%global baserelease 100
a8f1348
%global fedora_build %{baserelease}
a8f1348
a8f1348
# base_sublevel is the kernel version we're starting with and patching
a8f1348
# on top of -- for example, 3.1-rc7-git1 starts with a 3.0 base,
a8f1348
# which yields a base_sublevel of 0.
fefbca9
%global base_sublevel 0
a8f1348
a8f1348
## If this is a released kernel ##
a8f1348
%if 0%{?released_kernel}
a8f1348
a8f1348
# Do we have a -stable update to apply?
fefbca9
%global stable_update 5
a8f1348
# Set rpm version accordingly
a8f1348
%if 0%{?stable_update}
a8f1348
%global stablerev %{stable_update}
a8f1348
%global stable_base %{stable_update}
a8f1348
%endif
fefbca9
%global rpmversion 6.%{base_sublevel}.%{stable_update}
a8f1348
a8f1348
## The not-released-kernel case ##
a8f1348
%else
a8f1348
# The next upstream release sublevel (base_sublevel+1)
2e85c57
%global upstream_sublevel %(echo $((%{base_sublevel} + 1)))
6b9c3ea
a8f1348
# The rc snapshot level
8ea5c34
%global rcrev 0
a8f1348
# Set rpm version accordingly
fefbca9
%global rpmversion 6.%{upstream_sublevel}.0
a8f1348
%endif
a8f1348
# Nb: The above rcrev values automagically define Patch00 and Patch01 below.
a8f1348
a8f1348
# pkg_release is what we'll fill in for the rpm Release: field
a8f1348
%if 0%{?released_kernel}
a8f1348
a8f1348
%global pkg_release %{fedora_build}%{?buildid}%{?dist}
a8f1348
a8f1348
%else
a8f1348
a8f1348
# non-released_kernel
a8f1348
%if 0%{?rcrev}
a8f1348
%global rctag .rc%rcrev
a8f1348
%else
a8f1348
%global rctag .rc0
a8f1348
%endif
a8f1348
%global gittag .git0
a8f1348
%global pkg_release 0%{?rctag}%{?gittag}.%{fedora_build}%{?buildid}%{?dist}
a8f1348
a8f1348
%endif
a8f1348
a8f1348
# The kernel tarball/base version
fefbca9
%global kversion 6.%{base_sublevel}
a8f1348
%global KVERREL %{version}-%{release}.%{_target_cpu}
a8f1348
96c899e
# perf needs this
96c899e
%undefine _strict_symbol_defs_build
96c899e
deb07ce
BuildRequires: kmod, patch, bash, tar, git-core
a8f1348
BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl(Carp), perl-devel, perl-generators, make, diffutils, gawk
a8f1348
BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc
a8f1348
BuildRequires: net-tools, hostname, bc, elfutils-devel
a83bd27
BuildRequires: zlib-devel binutils-devel newt-devel python3-docutils perl(ExtUtils::Embed) bison flex xz-devel
deb07ce
BuildRequires: audit-libs-devel glibc-devel glibc-headers glibc-static python3-devel java-devel
38e923f
BuildRequires: asciidoc xmlto libcap-devel python3-setuptools
7906309
BuildRequires: openssl-devel libbabeltrace-devel
348504d
BuildRequires: libbpf-devel
41e3627
BuildRequires: clang llvm
Jeremy Cline 45f8f07
# Used to mangle unversioned shebangs to be Python 3
Jeremy Cline 45f8f07
BuildRequires: /usr/bin/pathfix.py
a8f1348
%ifnarch s390x %{arm}
a8f1348
BuildRequires: numactl-devel
a8f1348
%endif
7906309
%ifarch aarch64
7906309
BuildRequires: opencsd-devel >= 1.0.0
7906309
%endif
fcc2188
%ifarch i686 x86_64
fcc2188
BuildRequires: libnl3-devel
fcc2188
%endif
a8f1348
BuildRequires: pciutils-devel gettext ncurses-devel
a8f1348
BuildConflicts: rhbuildsys(DiskFree) < 500Mb
a8f1348
BuildRequires: rpm-build, elfutils
a8f1348
%{?systemd_requires}
a8f1348
BuildRequires: systemd
a8f1348
fefbca9
Source0: https://www.kernel.org/pub/linux/kernel/v6.x/linux-%{kversion}.tar.xz
a8f1348
a8f1348
# Sources for kernel-tools
a8f1348
Source2000: cpupower.service
a8f1348
Source2001: cpupower.config
a8f1348
a8f1348
# Here should be only the patches up to the upstream canonical Linus tree.
a8f1348
a8f1348
# For a stable release kernel
a8f1348
%if 0%{?stable_base}
fefbca9
Source5000: patch-6.%{base_sublevel}.%{stable_base}.xz
a8f1348
%else
a8f1348
# non-released_kernel case
a8f1348
# These are automagically defined by the rcrev value set up
a8f1348
# near the top of this spec file.
a8f1348
%if 0%{?rcrev}
fefbca9
Source5000: patch-6.%{upstream_sublevel}-rc%{rcrev}.xz
a8f1348
%endif
a8f1348
%endif
a8f1348
fefbca9
# Patch1: 
ddf2b59
a8f1348
Name: kernel-tools
a8f1348
Summary: Assortment of tools for the Linux kernel
a8f1348
License: GPLv2
a8f1348
URL: http://www.kernel.org/
a8f1348
Version: %{rpmversion}
a8f1348
Release: %{pkg_release}
a8f1348
Provides:  cpupowerutils = 1:009-0.6.p1
a8f1348
Obsoletes: cpupowerutils < 1:009-0.6.p1
a8f1348
Provides:  cpufreq-utils = 1:009-0.6.p1
a8f1348
Provides:  cpufrequtils = 1:009-0.6.p1
a8f1348
Obsoletes: cpufreq-utils < 1:009-0.6.p1
a8f1348
Obsoletes: cpufrequtils < 1:009-0.6.p1
a8f1348
Obsoletes: cpuspeed < 1:1.5-16
a8f1348
Requires: kernel-tools-libs = %{version}-%{release}
a8f1348
%description -n kernel-tools
a8f1348
This package contains the tools/ directory from the kernel source
a8f1348
and the supporting documentation.
a8f1348
a8f1348
a8f1348
%package -n perf
a8f1348
Summary: Performance monitoring for the Linux kernel
Jiri Olsa a8dacac
Requires: bzip2
a8f1348
License: GPLv2
a8f1348
%description -n perf
a8f1348
This package contains the perf tool, which enables performance monitoring
a8f1348
of the Linux kernel.
a8f1348
Jeremy Cline 23d7893
%global pythonperfsum Python bindings for apps which will manipulate perf events
Jeremy Cline 23d7893
%global pythonperfdesc A Python module that permits applications \
67af526
written in the Python programming language to use the interface \
67af526
to manipulate perf events.
67af526
67af526
%package -n python3-perf
Jeremy Cline 23d7893
Summary: %{pythonperfsum}
67af526
%{?python_provide:%python_provide python3-perf}
67af526
%description -n python3-perf
Jeremy Cline 23d7893
%{pythonperfdesc}
a8f1348
a8f1348
%package -n kernel-tools-libs
a8f1348
Summary: Libraries for the kernels-tools
a8f1348
License: GPLv2
a8f1348
%description -n kernel-tools-libs
a8f1348
This package contains the libraries built from the tools/ directory
a8f1348
from the kernel source.
a8f1348
a8f1348
%package -n kernel-tools-libs-devel
a8f1348
Summary: Assortment of tools for the Linux kernel
a8f1348
License: GPLv2
a8f1348
Requires: kernel-tools = %{version}-%{release}
a8f1348
Provides:  cpupowerutils-devel = 1:009-0.6.p1
a8f1348
Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
a8f1348
Requires: kernel-tools-libs = %{version}-%{release}
a8f1348
Provides: kernel-tools-devel
a8f1348
%description -n kernel-tools-libs-devel
a8f1348
This package contains the development files for the tools/ directory from
a8f1348
the kernel source.
a8f1348
Jiri Olsa d0f955b
%package -n bpftool
Jiri Olsa d0f955b
Summary: Inspection and simple manipulation of eBPF programs and maps
Jiri Olsa d0f955b
License: GPLv2
Jiri Olsa d0f955b
%description -n bpftool
Jiri Olsa d0f955b
This package contains the bpftool, which allows inspection and simple
Jiri Olsa d0f955b
manipulation of eBPF programs and maps.
Jiri Olsa d0f955b
08f5d2a
%package -n libperf
08f5d2a
Summary: The perf library from kernel source
08f5d2a
License: GPLv2
08f5d2a
%description -n libperf
08f5d2a
This package contains the kernel source perf library.
08f5d2a
08f5d2a
%package -n libperf-devel
08f5d2a
Summary: Developement files for the perf library from kernel source
08f5d2a
License: GPLv2
08f5d2a
%description -n libperf-devel
08f5d2a
This package includes libraries and header files needed for development
08f5d2a
of applications which use perf library from kernel source.
08f5d2a
a8f1348
%prep
a8f1348
%setup -q -n kernel-%{kversion}%{?dist} -c
a8f1348
a8f1348
cd linux-%{kversion}
a8f1348
a8f1348
# This is for patching either an -rc or stable
a8f1348
%if 0%{?rcrev}
a8f1348
    xzcat %{SOURCE5000} | patch -p1 -F1 -s
a8f1348
%endif
a8f1348
a8f1348
%if 0%{?stable_base}
a8f1348
    xzcat %{SOURCE5000} | patch -p1 -F1 -s
a8f1348
%endif
a8f1348
fefbca9
# %patch1 -p1
a8f1348
a8f1348
# END OF PATCH APPLICATIONS
a8f1348
Jeremy Cline 45f8f07
# Mangle /usr/bin/python shebangs to /usr/bin/python3
Jeremy Cline 45f8f07
# -p preserves timestamps
Jeremy Cline 45f8f07
# -n prevents creating ~backup files
Jeremy Cline 45f8f07
# -i specifies the interpreter for the shebang
8decc7e
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/ tools/perf/scripts/python/*.py scripts/clang-tools
Jeremy Cline 45f8f07
a8f1348
###
a8f1348
### build
a8f1348
###
a8f1348
%build
871f38b
# The kernel tools build with -ggdb3 which seems to interact badly with LTO
871f38b
# causing various errors with references to discarded sections and symbol
871f38b
# type errors from the LTO plugin.  Until those issues are addressed
871f38b
# disable LTO
871f38b
%define _lto_cflags %{nil}
a8f1348
a8f1348
cd linux-%{kversion}
a8f1348
7906309
%ifarch aarch64
7906309
%global perf_build_extra_opts CORESIGHT=1
7906309
%endif
7906309
a8f1348
%global perf_make \
7b42713
  make %{?make_opts} EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 %{?perf_build_extra_opts} prefix=%{_prefix} PYTHON=%{__python3}
a8f1348
# perf
a8f1348
# make sure check-headers.sh is executable
a8f1348
chmod +x tools/perf/check-headers.sh
fcc2188
%{perf_make} DESTDIR=$RPM_BUILD_ROOT all
a8f1348
e11259e
%global tools_make \
fcc2188
  CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" make %{?make_opts}
e11259e
a8f1348
# cpupower
a8f1348
# make sure version-gen.sh is executable.
a8f1348
chmod +x tools/power/cpupower/utils/version-gen.sh
e11259e
%{tools_make} %{?_smp_mflags} -C tools/power/cpupower CPUFREQ_BENCH=false
a8f1348
%ifarch %{ix86}
a8f1348
    pushd tools/power/cpupower/debug/i386
e11259e
    %{tools_make} %{?_smp_mflags} centrino-decode powernow-k8-decode
a8f1348
    popd
a8f1348
%endif
a8f1348
%ifarch x86_64
a8f1348
    pushd tools/power/cpupower/debug/x86_64
e11259e
    %{tools_make} %{?_smp_mflags} centrino-decode powernow-k8-decode
a8f1348
    popd
a8f1348
%endif
a8f1348
%ifarch %{ix86} x86_64
a8f1348
   pushd tools/power/x86/x86_energy_perf_policy/
e11259e
   %{tools_make}
a8f1348
   popd
a8f1348
   pushd tools/power/x86/turbostat
e11259e
   %{tools_make}
a8f1348
   popd
0f13965
   pushd tools/power/x86/intel-speed-select
fcc2188
   %{tools_make}
fcc2188
   popd
fcc2188
   pushd tools/arch/x86/intel_sdsi
fcc2188
   %{tools_make} CFLAGS="${RPM_OPT_FLAGS}"
0f13965
   popd
7906309
%endif
a8f1348
pushd tools/thermal/tmon/
e11259e
%{tools_make}
a8f1348
popd
a8f1348
pushd tools/iio/
e11259e
%{tools_make}
a8f1348
popd
a8f1348
pushd tools/gpio/
e11259e
%{tools_make}
a8f1348
popd
e11259e
e11259e
%global bpftool_make \
fcc2188
  make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" EXTRA_LDFLAGS="%{__global_ldflags}" DESTDIR=$RPM_BUILD_ROOT V=1
e11259e
Jiri Olsa d0f955b
pushd tools/bpf/bpftool
e11259e
%{bpftool_make}
Jiri Olsa d0f955b
popd
08f5d2a
pushd tools/lib/perf
08f5d2a
make V=1
08f5d2a
popd
a8f1348
ea76b6a
# Build the docs
ea76b6a
pushd tools/kvm/kvm_stat/
55a12a8
%make_build man
ea76b6a
popd
ea76b6a
pushd tools/perf/Documentation/
55a12a8
%make_build man
ea76b6a
popd
ea76b6a
a8f1348
###
a8f1348
### install
a8f1348
###
a8f1348
a8f1348
%install
a8f1348
a8f1348
cd linux-%{kversion}
fcc2188
pwd
a8f1348
# perf tool binary and supporting scripts/binaries
fcc2188
%{perf_make} DESTDIR=$RPM_BUILD_ROOT lib=%{_lib} install-bin
a8f1348
# remove the 'trace' symlink.
a8f1348
rm -f %{buildroot}%{_bindir}/trace
a8f1348
6fb56e4
# For both of the below, yes, this should be using a macro but right now
6fb56e4
# it's hard coded and we don't actually want it anyway right now.
6fb56e4
# Whoever wants examples can fix it up!
6fb56e4
6fb56e4
# remove examples
Jeremy Cline 8356924
rm -rf %{buildroot}/usr/lib/perf/examples
6fb56e4
# remove the stray header file that somehow got packaged in examples
Jeremy Cline 8356924
rm -rf %{buildroot}/usr/lib/perf/include/bpf/
6fb56e4
a8f1348
# python-perf extension
fcc2188
%{perf_make} DESTDIR=%{buildroot} install-python_ext
a8f1348
a8f1348
# perf man pages (note: implicit rpm magic compresses them later)
ea76b6a
install -d %{buildroot}/%{_mandir}/man1
ea76b6a
install -pm0644 tools/kvm/kvm_stat/kvm_stat.1 %{buildroot}/%{_mandir}/man1/
ea76b6a
install -pm0644 tools/perf/Documentation/*.1 %{buildroot}/%{_mandir}/man1/
a8f1348
a8f1348
make -C tools/power/cpupower DESTDIR=%{buildroot} libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install
a8f1348
rm -f %{buildroot}%{_libdir}/*.{a,la}
a8f1348
%find_lang cpupower
a8f1348
mv cpupower.lang ../
a8f1348
%ifarch %{ix86}
a8f1348
    pushd tools/power/cpupower/debug/i386
a8f1348
    install -m755 centrino-decode %{buildroot}%{_bindir}/centrino-decode
a8f1348
    install -m755 powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode
a8f1348
    popd
a8f1348
%endif
a8f1348
%ifarch x86_64
a8f1348
    pushd tools/power/cpupower/debug/x86_64
a8f1348
    install -m755 centrino-decode %{buildroot}%{_bindir}/centrino-decode
a8f1348
    install -m755 powernow-k8-decode %{buildroot}%{_bindir}/powernow-k8-decode
a8f1348
    popd
a8f1348
%endif
a8f1348
chmod 0755 %{buildroot}%{_libdir}/libcpupower.so*
a8f1348
mkdir -p %{buildroot}%{_unitdir} %{buildroot}%{_sysconfdir}/sysconfig
a8f1348
install -m644 %{SOURCE2000} %{buildroot}%{_unitdir}/cpupower.service
a8f1348
install -m644 %{SOURCE2001} %{buildroot}%{_sysconfdir}/sysconfig/cpupower
a8f1348
%ifarch %{ix86} x86_64
a8f1348
   mkdir -p %{buildroot}%{_mandir}/man8
a8f1348
   pushd tools/power/x86/x86_energy_perf_policy
e11259e
   %{tools_make} DESTDIR=%{buildroot} install
a8f1348
   popd
a8f1348
   pushd tools/power/x86/turbostat
e11259e
   %{tools_make} DESTDIR=%{buildroot} install
a8f1348
   popd
0f13965
   pushd tools/power/x86/intel-speed-select
fcc2188
   %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude -I/usr/include/libnl3" DESTDIR=%{buildroot} install
fcc2188
   popd
fcc2188
   pushd tools/arch/x86/intel_sdsi
fcc2188
   %{tools_make} DESTDIR=%{buildroot} install
0f13965
   popd
fcc2188
%endif
a8f1348
pushd tools/thermal/tmon
e11259e
%{tools_make} INSTALL_ROOT=%{buildroot} install
a8f1348
popd
a8f1348
pushd tools/iio
e11259e
%{tools_make} DESTDIR=%{buildroot} install
a8f1348
popd
a8f1348
pushd tools/gpio
e11259e
%{tools_make} DESTDIR=%{buildroot} install
a8f1348
popd
a8f1348
pushd tools/kvm/kvm_stat
e11259e
%{tools_make} INSTALL_ROOT=%{buildroot} install-tools
a8f1348
popd
Jiri Olsa d0f955b
pushd tools/bpf/bpftool
e11259e
%{bpftool_make} prefix=%{_prefix} bash_compdir=%{_sysconfdir}/bash_completion.d/ mandir=%{_mandir} install doc-install
Jiri Olsa d0f955b
popd
08f5d2a
pushd tools/lib/perf
08f5d2a
make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} V=1 install install_headers
08f5d2a
popd
a8f1348
a8f1348
###
a8f1348
### scripts
a8f1348
###
a8f1348
3387884
%ldconfig_scriptlets -n kernel-tools-libs
a8f1348
a8f1348
%post -n kernel-tools
a8f1348
%systemd_post cpupower.service
a8f1348
a8f1348
%preun -n kernel-tools
a8f1348
%systemd_preun cpupower.service
a8f1348
a8f1348
%postun
a8f1348
%systemd_postun cpupower.service
a8f1348
a8f1348
%files -n perf
a8f1348
%{_bindir}/perf
9ea9b40
%exclude %{_libdir}/traceevent
0d340fb
%{_libdir}/libperf-jvmti.so
a8f1348
%{_libexecdir}/perf-core
a8f1348
%{_datadir}/perf-core/
a8f1348
%{_mandir}/man[1-8]/perf*
a8f1348
%{_sysconfdir}/bash_completion.d/perf
a8f1348
%doc linux-%{kversion}/tools/perf/Documentation/examples.txt
a8f1348
%license linux-%{kversion}/COPYING
8e32fd7
%{_docdir}/perf-tip/tips.txt
a8f1348
67af526
%files -n python3-perf
67af526
%license linux-%{kversion}/COPYING
67af526
%{python3_sitearch}/*
a8f1348
a8f1348
%files -n kernel-tools -f cpupower.lang
a8f1348
%{_bindir}/cpupower
6b9c3ea
%{_datadir}/bash-completion/completions/cpupower
a8f1348
%ifarch %{ix86} x86_64
a8f1348
%{_bindir}/centrino-decode
a8f1348
%{_bindir}/powernow-k8-decode
a8f1348
%endif
a8f1348
%{_unitdir}/cpupower.service
a8f1348
%{_mandir}/man[1-8]/cpupower*
a8f1348
%config(noreplace) %{_sysconfdir}/sysconfig/cpupower
a8f1348
%ifarch %{ix86} x86_64
a8f1348
%{_bindir}/x86_energy_perf_policy
a8f1348
%{_mandir}/man8/x86_energy_perf_policy*
a8f1348
%{_bindir}/turbostat
a8f1348
%{_mandir}/man8/turbostat*
0f13965
%{_bindir}/intel-speed-select
fcc2188
%{_sbindir}/intel_sdsi
a8f1348
%endif
a8f1348
%{_bindir}/tmon
a8f1348
%{_bindir}/iio_event_monitor
a8f1348
%{_bindir}/iio_generic_buffer
a8f1348
%{_bindir}/lsiio
a8f1348
%{_bindir}/lsgpio
a8f1348
%{_bindir}/gpio-hammer
a8f1348
%{_bindir}/gpio-event-mon
7d5b440
%{_bindir}/gpio-watch
a8f1348
%{_mandir}/man1/kvm_stat*
a8f1348
%{_bindir}/kvm_stat
a8f1348
%license linux-%{kversion}/COPYING
a8f1348
a8f1348
%files -n kernel-tools-libs
a8f1348
%{_libdir}/libcpupower.so.0
a8f1348
%{_libdir}/libcpupower.so.0.0.1
a8f1348
%license linux-%{kversion}/COPYING
a8f1348
a8f1348
%files -n kernel-tools-libs-devel
a8f1348
%{_libdir}/libcpupower.so
a8f1348
%{_includedir}/cpufreq.h
a8f1348
%{_includedir}/cpuidle.h
a8f1348
Jiri Olsa d0f955b
%files -n bpftool
Jiri Olsa d0f955b
%{_sbindir}/bpftool
Jiri Olsa d0f955b
%{_sysconfdir}/bash_completion.d/bpftool
49b7b0d
%{_mandir}/man8/bpftool-btf.8.gz
Jiri Olsa d0f955b
%{_mandir}/man8/bpftool-cgroup.8.gz
Jeremy Cline 4e0cf7a
%{_mandir}/man8/bpftool-gen.8.gz
204fef7
%{_mandir}/man8/bpftool-iter.8.gz
204fef7
%{_mandir}/man8/bpftool-link.8.gz
Jiri Olsa d0f955b
%{_mandir}/man8/bpftool-map.8.gz
901bda6
%{_mandir}/man8/bpftool-net.8.gz
Jiri Olsa d0f955b
%{_mandir}/man8/bpftool-prog.8.gz
6fb56e4
%{_mandir}/man8/bpftool-perf.8.gz
7d5b440
%{_mandir}/man8/bpftool-struct_ops.8.gz
Jeremy Cline e2ab001
%{_mandir}/man8/bpftool-feature.8.gz
Jiri Olsa d0f955b
%{_mandir}/man8/bpftool.8.gz
Jiri Olsa d0f955b
%license linux-%{kversion}/COPYING
Jiri Olsa d0f955b
08f5d2a
%files -n libperf
08f5d2a
%{_libdir}/libperf.so.0
08f5d2a
%{_libdir}/libperf.so.0.0.1
08f5d2a
%license linux-%{kversion}/COPYING
08f5d2a
08f5d2a
%files -n libperf-devel
08f5d2a
%{_libdir}/libperf.a
08f5d2a
%{_libdir}/libperf.so
08f5d2a
%{_libdir}/pkgconfig/libperf.pc
08f5d2a
%{_includedir}/perf/core.h
08f5d2a
%{_includedir}/perf/cpumap.h
a8639a0
%{_includedir}/perf/perf_dlfilter.h
08f5d2a
%{_includedir}/perf/event.h
08f5d2a
%{_includedir}/perf/evlist.h
08f5d2a
%{_includedir}/perf/evsel.h
08f5d2a
%{_includedir}/perf/mmap.h
08f5d2a
%{_includedir}/perf/threadmap.h
08f5d2a
%{_mandir}/man3/libperf.3.gz
08f5d2a
%{_mandir}/man7/libperf-counting.7.gz
08f5d2a
%{_mandir}/man7/libperf-sampling.7.gz
08f5d2a
%{_docdir}/libperf/examples/sampling.c
08f5d2a
%{_docdir}/libperf/examples/counting.c
08f5d2a
%{_docdir}/libperf/html/libperf.html
08f5d2a
%{_docdir}/libperf/html/libperf-counting.html
08f5d2a
%{_docdir}/libperf/html/libperf-sampling.html
08f5d2a
%license linux-%{kversion}/COPYING
08f5d2a
a8f1348
%changelog
fefbca9
* Wed Oct 26 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.5-100
fefbca9
- Linux v6.0.5
fefbca9
2bba54c
* Thu Aug 25 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.4-100
2bba54c
- Linux v5.19.4
2bba54c
35c2956
* Fri Jul 22 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.13-100
35c2956
- Linux v5.18.13
35c2956
fcc2188
* Tue Jun 14 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.4-100
fcc2188
- Linux v5.18.4
fcc2188
27d0d17
* Wed May 25 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.11-200
27d0d17
- Linux v5.17.11
27d0d17
cf3da38
* Mon May 09 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.6-200
cf3da38
- Linux v5.17.6
cf3da38
7906309
* Wed Apr 20 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.4-200
7906309
- Linux v5.17.4 rebase
7906309
ef1eff0
* Tue Feb 01 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.5-200
ef1eff0
- Linux v5.16.5 rebase
ef1eff0
b7a530c
* Mon Nov 22 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.4-200
b7a530c
- Linux v5.15.4
b7a530c
4c1649d
* Thu Sep 30 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.9-300
4c1649d
- Linux v5.14.9
4c1649d
9b784b4
* Mon Sep 27 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.8-300
9b784b4
- Linux v5.14.8
9b784b4
3319593
* Wed Sep 22 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.7-300
3319593
- Linux v5.14.7
3319593
8ea5c34
* Mon Aug 30 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-300
8ea5c34
- Linux v5.14.0
8ea5c34
69c47c3
* Mon Aug 23 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-0.rc7.git0.1
69c47c3
- Linux v5.14-rc7
69c47c3
c3f445c
* Mon Aug 16 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-0.rc6.git0.1
c3f445c
- Linux v5.14-rc6
c3f445c
7314bc0
* Mon Aug 09 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-0.rc5.git0.1
7314bc0
- Linux v5.14-rc5
7314bc0
fe6ea0a
* Mon Aug 02 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-0.rc4.git0.1
fe6ea0a
- Linux v5.14-rc4
fe6ea0a
d3d57b8
* Mon Jul 26 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-0.rc3.git0.1
d3d57b8
- Linux v5.14-rc3
d3d57b8
efb7564
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.14.0-0.rc2.git0.2
efb7564
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
efb7564
6d3f5f1
* Tue Jul 20 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-0.rc2.git0.1
6d3f5f1
- Linux v5.14-rc2
6d3f5f1
a8639a0
* Mon Jul 12 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-0.rc1.git0.1
a8639a0
- Linux v5.14-rc1
a8639a0
b77a806
* Mon Jun 28 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-1
b77a806
- Linux v5.13
b77a806
fc4f549
* Mon Jun 21 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-0.rc7.git0.1
fc4f549
- Linux v5.13-rc7
fc4f549
a6c05fa
* Tue Jun 15 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-0.rc6.git0.1
a6c05fa
- Linux v5.13-rc6
a6c05fa
8908fba
* Mon Jun 07 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-0.rc5.git0.1
8908fba
- Linux v5.13-rc5
8908fba
ba03c01
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 5.13.0-0.rc4.git0.2
ba03c01
- Rebuilt for Python 3.10
ba03c01
61f2186
* Tue Jun 01 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-0.rc4.git0.1
61f2186
- Linux v5.13-rc4
61f2186
cf5ee4a
* Tue May 25 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.13.0-0.rc3.git0.2
cf5ee4a
- Perl 5.34 re-rebuild updated packages
cf5ee4a
74c1c5c
* Mon May 24 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-0.rc3.git0.1
74c1c5c
- Linux v5.13-rc3
74c1c5c
87150d8
* Sat May 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.13.0-0.rc2.git0.2
87150d8
- Perl 5.34 rebuild
87150d8
a14a56a
* Mon May 17 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-0.rc2.git0.1
a14a56a
- Linux v5.13-rc2
a14a56a
348504d
* Mon May 10 2021 Justin M. Forbes <jforbes@fedoraproject.org>
348504d
- perf: enable dynamic linking of libbpf
348504d
02ca1de
* Mon May 10 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.13.0-0.rc1.git0.1
02ca1de
- Linux v5.13-rc1
02ca1de
Jiri Olsa b71a5f6
* Thu May 06 2021 Jiri Olsa <jolsa@jolsa@redhat.com>
Jiri Olsa b71a5f6
- Remove libbpf package
Jiri Olsa b71a5f6
0f13965
* Thu May 06 2021 Justin M. Forbes <jforbes@fedoraproject.org>
0f13965
- Build and package intel-speed-select (rhbz 1882427)
0f13965
7e4b532
* Tue Apr 27 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-1
7e4b532
- Linux v5.12
7e4b532
99eeca7
* Mon Apr 19 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc8.git0.1
99eeca7
- Linux v5.12-rc8
99eeca7
45e6584
* Mon Apr 12 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc7.git0.1
45e6584
- Linux v5.12-rc7
45e6584
7396c86
* Mon Apr 05 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc6.git0.1
7396c86
- Linux v5.12-rc6
7396c86
b2cdb05
* Mon Mar 29 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc5.git0.1
b2cdb05
- Linux v5.12-rc5
b2cdb05
f98d002
* Mon Mar 22 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc4.git0.1
f98d002
- Linux v5.12-rc4
f98d002
5bd9144
* Mon Mar 15 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc3.git0.1
5bd9144
- Linux v5.12-rc3
5bd9144
61393d5
* Sat Mar 06 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc2.git0.1
61393d5
- Linux v5.12-rc2
61393d5
faab1a1
* Mon Mar 01 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.12.0-0.rc1.git0.1
faab1a1
- Linux v5.12-rc1
faab1a1
cb37840
* Mon Feb 15 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.11.0-1
cb37840
- Linux v5.11.0