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(a)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