Re: [PATCH] perf tools: allow overriding MAX_NR_CPUS at compile time

2018-08-01 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 01, 2018 at 11:37:30AM +0200, Christophe LEROY escreveu: > > > Le 03/05/2018 à 15:40, Arnaldo Carvalho de Melo a écrit : > > Em Fri, Sep 22, 2017 at 01:20:43PM +0200, Christophe Leroy escreveu: > > > After update of kernel, perf tool doesn't run anymore on my > > > 32MB RAM powerpc

Re: [PATCH] perf tools: allow overriding MAX_NR_CPUS at compile time

2018-08-01 Thread Christophe LEROY
Le 03/05/2018 à 15:40, Arnaldo Carvalho de Melo a écrit : Em Fri, Sep 22, 2017 at 01:20:43PM +0200, Christophe Leroy escreveu: After update of kernel, perf tool doesn't run anymore on my 32MB RAM powerpc board, but still runs on a 128MB RAM board: Cleaning up my inbox, found this one,

Re: [PATCH] perf tools: allow overriding MAX_NR_CPUS at compile time

2018-05-03 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 22, 2017 at 01:20:43PM +0200, Christophe Leroy escreveu: > After update of kernel, perf tool doesn't run anymore on my > 32MB RAM powerpc board, but still runs on a 128MB RAM board: Cleaning up my inbox, found this one, simple enough, still applies, applied. These all needs to be

Re: [PATCH] perf tools: allow overriding MAX_NR_CPUS at compile time

2017-09-22 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 22, 2017 at 01:20:43PM +0200, Christophe Leroy escreveu: > After update of kernel, perf tool doesn't run anymore on my > 32MB RAM powerpc board, but still runs on a 128MB RAM board: > > ~# strace perf > execve("/usr/sbin/perf", ["perf"], [/* 12 vars */]) = -1 ENOMEM (Cannot >

[PATCH] perf tools: allow overriding MAX_NR_CPUS at compile time

2017-09-22 Thread Christophe Leroy
After update of kernel, perf tool doesn't run anymore on my 32MB RAM powerpc board, but still runs on a 128MB RAM board: ~# strace perf execve("/usr/sbin/perf", ["perf"], [/* 12 vars */]) = -1 ENOMEM (Cannot allocate memory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SI_KERNEL, si_addr=0} --- +++