Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 04, 2016 at 05:47:12PM -0700, Chris Phlipot escreveu: > On 07/04/2016 05:26 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: > > > On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: > > > > Em Thu, Jun 30, 2016 at 10:12:34PM

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 05:26 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations w

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 04, 2016 at 05:19:20PM -0700, Chris Phlipot escreveu: > > > On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: > > > Enable perf to build on libc implementations where sysconf() doesn't > > > support _SC_LEVEL1

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Chris Phlipot
On 07/04/2016 03:48 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: Enable perf to build on libc implementations where sysconf() doesn't support _SC_LEVEL1_DCACHE_LINESIZE as a parameter. For example, the Bionic implementation does not sup

Re: [PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 30, 2016 at 10:12:34PM -0700, Chris Phlipot escreveu: > Enable perf to build on libc implementations where sysconf() doesn't > support _SC_LEVEL1_DCACHE_LINESIZE as a parameter. > > For example, the Bionic implementation does not support this as a > paremter. Older versions of Bionic w

[PATCH 3/4] perf tool: Fix build when sysconf doesn't support cache line size

2016-06-30 Thread Chris Phlipot
Enable perf to build on libc implementations where sysconf() doesn't support _SC_LEVEL1_DCACHE_LINESIZE as a parameter. For example, the Bionic implementation does not support this as a paremter. Older versions of Bionic will throw an error when this is passed in as a parameter, and more recent ve