Re: [PATCH] perf: fix bench numa compilation

2013-06-20 Thread Riccardo Magliocchetti
Hello, Il 19/06/2013 19:23, Arnaldo Carvalho de Melo ha scritto: - process_nr, thread_nr, runtime_ns_max / bytes_done, val); + printf(" #%2d / %2d: %14.2lf nsecs/op [val: %016llx]\n", + pr

Re: [PATCH] perf: fix bench numa compilation

2013-06-19 Thread Arnaldo Carvalho de Melo
> - process_nr, thread_nr, runtime_ns_max / > bytes_done, val); > + printf(" #%2d / %2d: %14.2lf nsecs/op [val: > %016llx]\n", > + process_nr, thread_nr, runtime_ns_max / > bytes_done, (unsigned l

[PATCH] perf: fix bench numa compilation

2013-06-17 Thread Riccardo Magliocchetti
Fix the following errors on gcc 4.8.1 / x86: bench/numa.c: In function ‘worker_thread’: bench/numa.c:1113:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (diff.tv_sec >= g->p.nr_secs) { ^ bench/numa.c:1161:6: error: format ‘%

Re: [PATCH] perf: fix bench numa compilation

2013-06-17 Thread Namhyung Kim
Hi Riccardo, On Sat, 15 Jun 2013 12:15:14 +0200, Riccardo Magliocchetti wrote: > bench/numa.c: In function ‘worker_thread’: > bench/numa.c:1113:20: error: comparison between signed and unsigned integer > expressions [-Werror=sign-compare] > if (diff.tv_sec >= g->p.nr_secs) { >

[PATCH] perf: fix bench numa compilation

2013-06-15 Thread Riccardo Magliocchetti
bench/numa.c: In function ‘worker_thread’: bench/numa.c:1113:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (diff.tv_sec >= g->p.nr_secs) { ^ bench/numa.c:1161:6: error: format ‘%lx’ expects argument of type ‘long unsigned i