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.
2b3beed
%global released_kernel 0
62ae444
%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.
201384b
%global base_sublevel 0
a8f1348
201384b
%global base_major 6
b04202c
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
b04202c
%global rpmversion %{base_major}.%{base_sublevel}.%{stable_update}
a8f1348
a8f1348
## The not-released-kernel case ##
a8f1348
%else
a8f1348
# The next upstream release sublevel (base_sublevel+1)
2b3beed
%global upstream_sublevel %(echo $((%{base_sublevel} + 1)))
b04202c
%global upstream_major 6
6b9c3ea
a8f1348
# The rc snapshot level
2b3beed
%global rcrev 1
a8f1348
# Set rpm version accordingly
b04202c
%global rpmversion %{upstream_major}.%{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
b04202c
%global kversion %{base_major}.%{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
b04202c
BuildRequires: asciidoc xmlto libcap-devel python3-setuptools
2323945
BuildRequires: openssl-devel libbabeltrace-devel
1aef3fc
BuildRequires: libtracefs-devel libtraceevent-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
4f3f4a5
%ifarch i686 x86_64
4f3f4a5
BuildRequires: libnl3-devel
4f3f4a5
%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}
b04202c
Source5000: patch-%{base_major}.%{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}
b04202c
Source5000: patch-%{upstream_major}.%{upstream_sublevel}-rc%{rcrev}.xz
a8f1348
%endif
a8f1348
%endif
a8f1348
2b3beed
Patch1: 0001-perf-tools-Fix-man-page-build-wrt-perf-arm-coresight.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
90328ce
ExcludeArch: i386 i686
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
1aef3fc
%package -n rtla
1aef3fc
Summary: RTLA: Real-Time Linux Analysis tools 
1aef3fc
License: GPLv2
1aef3fc
%description -n rtla
1aef3fc
The rtla tool is a meta-tool that includes a set of commands that
1aef3fc
aims to analyze the real-time properties of Linux. But, instead of
1aef3fc
testing Linux as a black box, rtla leverages kernel tracing
1aef3fc
capabilities to provide precise information about the properties
1aef3fc
and root causes of unexpected results.
1aef3fc
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
2b3beed
%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
2323945
%ifarch aarch64
2323945
%global perf_build_extra_opts CORESIGHT=1
2323945
%endif
2323945
a8f1348
%global perf_make \
1aef3fc
  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 LIBBPF_DYNAMIC=1 LIBTRACEEVENT_DYNAMIC=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
1aef3fc
%{perf_make} DESTDIR=$RPM_BUILD_ROOT all
a8f1348
e11259e
%global tools_make \
1aef3fc
  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
1aef3fc
   %{tools_make}
0f13965
   popd
90328ce
   pushd tools/arch/x86/intel_sdsi
1aef3fc
   %{tools_make} CFLAGS="${RPM_OPT_FLAGS}"
90328ce
   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
1aef3fc
pushd tools/tracing/rtla
1aef3fc
%{tools_make}
1aef3fc
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}
1aef3fc
pwd
a8f1348
# perf tool binary and supporting scripts/binaries
1aef3fc
%{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
1aef3fc
%{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
1ed1330
   %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude -I/usr/include/libnl3" DESTDIR=%{buildroot} install
0f13965
   popd
90328ce
   pushd tools/arch/x86/intel_sdsi
90328ce
   %{tools_make} DESTDIR=%{buildroot} install
90328ce
   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
1aef3fc
pushd tools/tracing/rtla/
1aef3fc
%{tools_make} DESTDIR=%{buildroot} install
1aef3fc
rm -f %{buildroot}%{_bindir}/osnoise
1aef3fc
rm -f %{buildroot}%{_bindir}/timerlat
1aef3fc
(cd %{buildroot}
1aef3fc
1aef3fc
        ln -sf rtla ./%{_bindir}/osnoise
1aef3fc
        ln -sf rtla ./%{_bindir}/timerlat
1aef3fc
)
1aef3fc
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
90328ce
%{_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
1aef3fc
%files -n rtla
1aef3fc
%{_bindir}/rtla
1aef3fc
%{_bindir}/osnoise
1aef3fc
%{_bindir}/timerlat
1aef3fc
%{_mandir}/man1/rtla-osnoise-hist.1.gz
1aef3fc
%{_mandir}/man1/rtla-osnoise-top.1.gz
1aef3fc
%{_mandir}/man1/rtla-osnoise.1.gz
1aef3fc
%{_mandir}/man1/rtla-timerlat-hist.1.gz
1aef3fc
%{_mandir}/man1/rtla-timerlat-top.1.gz
1aef3fc
%{_mandir}/man1/rtla-timerlat.1.gz
1aef3fc
%{_mandir}/man1/rtla.1.gz
1aef3fc
a8f1348
%changelog
2b3beed
* Mon Oct 17 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-0.rc1.git0.1
2b3beed
- Linux v6.1-rc1
2b3beed
201384b
* Mon Oct 03 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-1
201384b
- Linux v6.0
201384b
6d5d7c6
* Mon Sep 26 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-0.rc7.git0.1
6d5d7c6
- Linux v6.0-rc7
6d5d7c6
6e74d7b
* Mon Sep 19 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-0.rc6.git0.1
6e74d7b
- Linux v6.0-rc6
6e74d7b
875347c
* Mon Sep 05 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-0.rc4.git0.1
875347c
- Linux v6.0-rc4
875347c
5ca5de6
* Mon Aug 29 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-0.rc3.git0.1
5ca5de6
- Linux v6.0-rc3
5ca5de6
18b2be4
* Mon Aug 22 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-0.rc2.git0.1
18b2be4
- Linux v6.0-rc2
18b2be4
b04202c
* Mon Aug 15 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 6.0.0-0.rc1.git0.1
b04202c
- Linux v6.0-rc1
b04202c
4a71ce8
* Mon Aug 01 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-1
4a71ce8
- Linux v5.19.0
4a71ce8
62ae444
* Tue Jul 26 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc8.git0.1
62ae444
- Linux v5.19-rc8
62ae444
c0e3b37
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.19.0-0.rc7.git0.2
c0e3b37
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
c0e3b37
dd620bd
* Mon Jul 18 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc7.git0.1
dd620bd
- Linux v5.19-rc7
dd620bd
81603d5
* Mon Jul 11 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc6.git0.1
81603d5
- Linux v5.19-rc6
81603d5
349b1a7
* Mon Jul 04 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc5.git0.1
349b1a7
- Linux v5.19-rc5
349b1a7
a99c433
* Mon Jun 27 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc4.git0.1
a99c433
- Linux v5.19-rc4
a99c433
505aa3a
* Mon Jun 20 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc3.git0.1
505aa3a
- Linux v5.19-rc3
505aa3a
1aef3fc
* Tue Jun 14 2022 Justin M. Forbes <jforbes@fedoraproject.org>
1aef3fc
- Some spec cleanups
1aef3fc
- Build rtla as a subpackage
1aef3fc
18f7a15
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 5.19.0-0.rc2.git0.2
18f7a15
- Rebuilt for Python 3.11
18f7a15
e2cafe8
* Mon Jun 13 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc2.git0.1
e2cafe8
- Linux v5.19-rc2
e2cafe8
b05e3f9
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.19.0-0.rc1.git0.2
b05e3f9
- Rebuilt for Python 3.11
b05e3f9
8d1df57
* Mon Jun 06 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.19.0-0.rc1.git0.1
8d1df57
- Linux v5.19-rc1
8d1df57
fb13d11
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.18.0-2
fb13d11
- Perl 5.36 rebuild
fb13d11
ca12be4
* Mon May 23 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-1
ca12be4
- Linux v5.18.0
ca12be4
39c2602
* Mon May 16 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-0.rc7.git0.1
39c2602
- Linux v5.18-rc7
39c2602
7b1891e
* Mon May 09 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-0.rc6.git0.1
7b1891e
- Linux v5.18-rc6
7b1891e
8680a91
* Mon May 02 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-0.rc5.git0.1
8680a91
- Linux v5.18-rc5
8680a91
15c4ee1
* Mon Apr 25 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-0.rc4.git0.1
15c4ee1
- Linux v5.18-rc4
15c4ee1
a6c0524
* Mon Apr 18 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-0.rc3.git0.1
a6c0524
- Linux v5.18-rc3
a6c0524
90328ce
* Mon Apr 11 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-0.rc2.git0.1
90328ce
- Linux v5.18-rc2
90328ce
- Stop building for i686
90328ce
- Start building the intel_sdsi utility
90328ce
1ed1330
* Mon Apr 04 2022 Justin M. Forbes <jforbes@fedoraproject.org> - 5.18.0-0.rc1.git0.1
1ed1330
- Linux v5.18-rc1
1ed1330
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