[PATCH] kernel.spec: enable building of perf with libnuma support

Josh Boyer jwboyer at fedoraproject.org
Fri Oct 24 14:10:11 UTC 2014


On Fri, Oct 24, 2014 at 12:01:21PM -0200, Arnaldo Carvalho de Melo wrote:
> Em Fri, Oct 24, 2014 at 09:51:35AM -0400, Josh Boyer escreveu:
> > On Thu, Oct 23, 2014 at 06:51:50PM +0200, Petr Holasek wrote:
> > > Patch makes perf package dependent on numactl-devel and so enables numa
> > > subsystem benchmarks for perf bench command. numactl-devel is added to the
> > > buildroot just for x86 archs, because we don't ship libnuma for any others
> > > architectures.
> > > 
> > > Can be easily reproduced by calling 'perf bench numa mem -a':
> > > 
> > > - current output:
> > > 
> > > 'Unknown subsystem:numa'
> > > 
> > > - built with this patch:
> > > 
> > > 'Running numa/mem benchmark...'
> > > 
> > > Signed-off-by: Petr Holasek <pholasek at redhat.com>
> > 
> > Thanks.  I'll look at getting this into today's rawhide build.
> 
> FYI, checked with Jiri Olsa and he tells me that in RHEL7 it is:
> 
> %if %{with_perf}
> BuildRequires: elfutils-devel zlib-devel binutils-devel bison
> BuildRequires: audit-libs-devel
> %ifnarch s390 s390x
> BuildRequires: numactl-devel
> %endif
> %endif

Thanks.  I'll leave it as-is until the secondary arch teams request numa
support.

josh


More information about the kernel mailing list