diff --git a/kernel.spec b/kernel.spec index 1352745d2fd2ca9e2552b3f9a8576de91744fc7b..6d4eaecff191065606200864ddaa43db4d15d06c 100644 --- a/kernel.spec +++ b/kernel.spec @@ -198,6 +198,8 @@ BuildRequires: sparse BuildRequires: zlib-devel binutils-devel newt-devel perl(ExtUtils::Embed) bison flex xz-devel BuildRequires: audit-libs-devel BuildRequires: java-devel +BuildRequires: opencsd +BuildRequires: opencsd-devel %ifnarch s390x BuildRequires: numactl-devel %endif @@ -352,6 +354,7 @@ It provides the kernel source files common to all builds. Summary: Performance monitoring for the Linux kernel Group: Development/System Requires: bzip2 +Requires: opencsd License: GPLv2 %description -n perf This package contains the perf tool, which enables performance monitoring @@ -1193,7 +1196,7 @@ BuildKernel %make_target %kernel_image %endif %global perf_make \ - make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" -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 prefix=%{_prefix} PYTHON=%{__python3} + make EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" -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 CORESIGHT=1 prefix=%{_prefix} PYTHON=%{__python3} %if %{with_perf} # perf # make sure check-headers.sh is executable