linux/tools/perf/bench
Arnaldo Carvalho de Melo 6aa4d82640 perf bench numa: Make sure dprintf() is not defined
When building with clang we get this error:

  bench/numa.c:46:9: error: 'dprintf' macro redefined [-Werror,-Wmacro-redefined]
  #define dprintf(x...) do { if (g && g->p.show_details >= 1) printf(x); } while (0)
          ^
  /usr/include/bits/stdio2.h:145:12: note: previous definition is here
  #   define dprintf(fd, ...) \
             ^
    CC       /tmp/build/perf/tests/parse-no-sample-id-all.o
  1 error generated.

So, make sure it is undefined before using that name.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Davidlohr Bueso <dbueso@suse.de>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jakub Jelen <jjelen@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-f654o2svtrutamvxt7igwz74@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2017-02-14 15:19:18 -03:00
..
bench.h
Build
futex-hash.c Revert "perf bench futex: Sanitize numeric parameters" 2017-02-14 15:19:17 -03:00
futex-lock-pi.c Revert "perf bench futex: Sanitize numeric parameters" 2017-02-14 15:19:17 -03:00
futex-requeue.c Revert "perf bench futex: Sanitize numeric parameters" 2017-02-14 15:19:17 -03:00
futex-wake-parallel.c Revert "perf bench futex: Sanitize numeric parameters" 2017-02-14 15:19:17 -03:00
futex-wake.c Revert "perf bench futex: Sanitize numeric parameters" 2017-02-14 15:19:17 -03:00
futex.h Revert "perf bench futex: Sanitize numeric parameters" 2017-02-14 15:19:17 -03:00
mem-functions.c perf bench mem: Move boilerplate memory allocation to the infrastructure 2016-10-24 11:07:43 -03:00
mem-memcpy-arch.h
mem-memcpy-x86-64-asm-def.h
mem-memcpy-x86-64-asm.S
mem-memset-arch.h
mem-memset-x86-64-asm-def.h
mem-memset-x86-64-asm.S
numa.c perf bench numa: Make sure dprintf() is not defined 2017-02-14 15:19:18 -03:00
sched-messaging.c
sched-pipe.c