Blame kernel-tools.spec

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.
bf17e0a
%global released_kernel 1
a75f52e
%global baserelease 1
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.
bf17e0a
%global base_sublevel 17
a8f1348
a8f1348
## If this is a released kernel ##
a8f1348
%if 0%{?released_kernel}
a8f1348
a8f1348
# Do we have a -stable update to apply?
a8f1348
%global stable_update 0
a8f1348
# Set rpm version accordingly
a8f1348
%if 0%{?stable_update}
a8f1348
%global stablerev %{stable_update}
a8f1348
%global stable_base %{stable_update}
a8f1348
%endif
6b9c3ea
%global rpmversion 5.%{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
bf17e0a
%global rcrev 0
a8f1348
# Set rpm version accordingly
6b9c3ea
%global rpmversion 5.%{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
2e85c57
%global kversion 5.%{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
060b6f2
BuildRequires: asciidoc xmlto libcap-devel
2323945
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
2323945
%ifarch aarch64
2323945
BuildRequires: opencsd-devel >= 1.0.0
2323945
%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
2e85c57
Source0: https://www.kernel.org/pub/linux/kernel/v5.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}
6b9c3ea
Source5000: patch-5.%{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}
2e85c57
Source5000: patch-5.%{upstream_sublevel}-rc%{rcrev}.xz
a8f1348
%endif
a8f1348
%endif
a8f1348
a8f1348
# ongoing complaint, full discussion delayed until ksummit/plumbers
a8f1348
Patch0: 0001-iio-Use-event-header-from-kernel-tree.patch
a8f1348
a8f1348
# rpmlint cleanup
a8f1348
Patch6: 0002-perf-Don-t-make-sourced-script-executable.patch
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
a8f1348
%patch0 -p1
a8f1348
%patch6 -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
2323945
%ifarch aarch64
2323945
%global perf_build_extra_opts CORESIGHT=1
2323945
%endif
2323945
a8f1348
%global perf_make \
2323945
  make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} 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}
a83bd27
%global perf_python3 -C tools/perf PYTHON=%{__python3}
a8f1348
# perf
a8f1348
# make sure check-headers.sh is executable
a8f1348
chmod +x tools/perf/check-headers.sh
67af526
%{perf_make} %{perf_python3} all
a8f1348
e11259e
%global tools_make \
e11259e
  make CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" HOSTCFLAGS="%{?build_hostcflags}" HOSTLDFLAGS="%{?build_hostldflags}" V=1
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
0f13965
   %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude"
0f13965
   popd
8b68872
%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 \
5f91e04
  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}
a8f1348
a8f1348
# perf tool binary and supporting scripts/binaries
9ea9b40
%{perf_make} %{perf_python3} DESTDIR=%{buildroot} 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
67af526
%{perf_make} %{perf_python3} 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
0f13965
   %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude" DESTDIR=%{buildroot} install
0f13965
   popd
8b68872
%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
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
bf17e0a
* Mon Mar 21 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-1
bf17e0a
- Linux v5.17.0
bf17e0a
0ac5ea1
* Mon Mar 14 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc8.git0.1
0ac5ea1
- Linux v5.17-rc8
0ac5ea1
8b68872
* Mon Mar 07 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc7.git0.1
8b68872
- Linux v5.17-rc7
8b68872
20cc211
* Mon Feb 28 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc6.git0.1
20cc211
- Linux v5.17-rc6
20cc211
a75f52e
* Mon Feb 21 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc5.git0.1
a75f52e
- Linux v5.17-rc5
2323945
- Temporarily stop libtraceevent dynamic until I can figure out why i686 doesn't build.
2323945
- Make coresight aarch64 only.
a75f52e
1c0e26d
* Wed Feb 16 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc4.git0.2
1c0e26d
- Bump for rebuild with libtraceevent update
1c0e26d
f70e124
* Mon Feb 14 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc4.git0.1
f70e124
- Linux v5.17-rc4
f70e124
854cc80
* Mon Feb 07 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc3.git0.1
854cc80
- Linux v5.17-rc3
854cc80
02243a1
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 5.17.0-0.rc2.git0.2
02243a1
- Rebuilt for java-17-openjdk as system jdk
02243a1
c0c8702
* Sun Jan 30 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc2.git0.1
c0c8702
- Linux v5.17-rc2
c0c8702
c0c8702
* Mon Jan 24 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.17.0-0.rc1.git0.1
c0c8702
- Linux v5.17-rc1
c0c8702
23e9f53
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.16.0-2
23e9f53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
23e9f53
01cc9d0
* Mon Jan 10 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.0-1
01cc9d0
- Linux v5.16
01cc9d0
5ccde93
* Mon Jan 03 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.0-0.rc8.git0.1
5ccde93
- Linux v5.16-rc8
5ccde93
5b5b761
* Mon Dec 27 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.0-0.rc7.git0.1
5b5b761
- Linux v5.16-rc7
5b5b761
a127159
* Mon Dec 20 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.0-0.rc6.git0.1
a127159
- Linux v5.16-rc6
a127159
2b4dd6e
* Mon Dec 13 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.0-0.rc5.git0.1
2b4dd6e
- Linux v5.16-rc5
2b4dd6e
e697197
* Mon Dec 06 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.0-0.rc4.git0.1
e697197
- Linux v5.16-rc4
e697197
543cda9
* Mon Nov 15 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.16.0-0.rc1.git0.1
543cda9
- Linux v5.16-rc1
543cda9
01cf8ce
* Mon Nov 01 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-1
01cf8ce
- Linux v5.15
01cf8ce
e64728e
* Tue Oct 26 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-0.rc7.git0.1
e64728e
- Linux v5.15-rc7
e64728e
3b9a799
* Mon Oct 18 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-0.rc6.git0.1
3b9a799
- Linux v5.15-rc6
3b9a799
92bfe6f
* Mon Oct 11 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-0.rc5.git0.1
92bfe6f
- Linux v5.15-rc5
92bfe6f
51694e6
* Mon Oct 04 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-0.rc4.git0.1
51694e6
- Linux v5.15-rc4
51694e6
51694e6
* Mon Oct 04 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-0.rc3.git0.1
51694e6
- Linux v5.15-rc3
51694e6
78a6dc6
* Mon Sep 20 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-0.rc2.git0.1
78a6dc6
- Linux v5.15-rc2
78a6dc6
fb3f025
* Mon Sep 13 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.15.0-0.rc1.git0.1
fb3f025
- Linux v5.15-rc1
fb3f025
26c2f27
* Mon Aug 30 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.14.0-1
26c2f27
- Linux v5.14.0