summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/setup.py
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-01-31 19:45:38 -0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-31 19:45:38 -0200
commit823c7164a92a6347d46bb64aaae728b6d08f3bb8 (patch)
tree398d340ac3e09eb25dd06c4d7ac586324f82c168 /tools/perf/util/setup.py
parentc0443df1b69b59675fc6790e0ddce87c8ca00abf (diff)
downloadop-kernel-dev-823c7164a92a6347d46bb64aaae728b6d08f3bb8.zip
op-kernel-dev-823c7164a92a6347d46bb64aaae728b6d08f3bb8.tar.gz
perf probe: Use %td for pointer arithmetic result
%td is for ptrdiff_t, avoiding this warning on 32-bit: cc1: warnings being treated as errors builtin-probe.c: In function ‘opt_set_filter’: builtin-probe.c:176:4: error: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’ Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/setup.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud