diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-31 21:45:38 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-31 21:45:38 +0000 |
| commit | 823c7164a92a6347d46bb64aaae728b6d08f3bb8 (patch) | |
| tree | 398d340ac3e09eb25dd06c4d7ac586324f82c168 /tools/perf/util/python.c | |
| parent | perf top: Introduce slang based TUI (diff) | |
| download | kernel-823c7164a92a6347d46bb64aaae728b6d08f3bb8.tar.gz kernel-823c7164a92a6347d46bb64aaae728b6d08f3bb8.zip | |
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Tom Zanussi <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions
