]> git.baikalelectronics.ru Git - kernel.git/commit
perf options: Type check all the remaining OPT_ variants
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 May 2010 19:22:41 +0000 (16:22 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 May 2010 19:22:41 +0000 (16:22 -0300)
commitfb0d3767f662ed4c4c127326c220d74dc794266e
treefc49d1f862fd5f1393c8b6245d571d97b208d91a
parentcf8430fb407098496f8547e9478fd0f2031713d7
perf options: Type check all the remaining OPT_ variants

OPT_SET_INT was renamed to OPT_SET_UINT since the only use in these
tools is to set something that has an enum type, that is builtin
compatible with unsigned int.

Several string constifications were done to make OPT_STRING require a
const char * type.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
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>
12 files changed:
tools/perf/builtin-bench.c
tools/perf/builtin-help.c
tools/perf/builtin-kvm.c
tools/perf/builtin-report.c
tools/perf/builtin-sched.c
tools/perf/builtin-top.c
tools/perf/util/hist.c
tools/perf/util/parse-options.c
tools/perf/util/parse-options.h
tools/perf/util/sort.c
tools/perf/util/sort.h
tools/perf/util/symbol.h