Re: [PATCH] perf tools: rework of handling lack of sched_getcpu in old glibc

2015-05-19 Thread Petr Holasek
On Tue, 19 May 2015, Arnaldo Carvalho de Melo wrote: > Em Tue, May 19, 2015 at 03:20:47PM +0200, Petr Holasek escreveu: > > Commit e1e455f4f4d3 ("perf tools: Work around lack of sched_getcpu in > > glibc < 2.6.") introduced weak function sched_getcpu() which should > > be overridden by sched_getcp

Re: [PATCH] perf tools: rework of handling lack of sched_getcpu in old glibc

2015-05-19 Thread Arnaldo Carvalho de Melo
Em Tue, May 19, 2015 at 03:20:47PM +0200, Petr Holasek escreveu: > Commit e1e455f4f4d3 ("perf tools: Work around lack of sched_getcpu in > glibc < 2.6.") introduced weak function sched_getcpu() which should > be overridden by sched_getcpu() provided by glibc >= 2.6. Unfortunately, > the weak functi

[PATCH] perf tools: rework of handling lack of sched_getcpu in old glibc

2015-05-19 Thread Petr Holasek
Commit e1e455f4f4d3 ("perf tools: Work around lack of sched_getcpu in glibc < 2.6.") introduced weak function sched_getcpu() which should be overridden by sched_getcpu() provided by glibc >= 2.6. Unfortunately, the weak function was linked to sched_getcpu() used in perf bench numa and made the benc