diff options
author | Ingo Molnar | 2009-05-26 09:02:27 +0200 |
---|---|---|
committer | Ingo Molnar | 2009-05-26 10:05:56 +0200 |
commit | 69aa48ab82e17299efe2be6c21795945731a6c17 (patch) | |
tree | 13dbfaadabea5711af4ae5817a8f6bdf084c0086 /Documentation | |
parent | 329d876d6fd326109f191ae0fb2798b8834fb70b (diff) |
perf record: Straighten out argv types
[ Impact: cleanup ]
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/perf_counter/builtin-record.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/perf_counter/builtin-record.c b/Documentation/perf_counter/builtin-record.c index 1b19f187d352..f225efaff9f5 100644 --- a/Documentation/perf_counter/builtin-record.c +++ b/Documentation/perf_counter/builtin-record.c @@ -191,7 +191,7 @@ static void display_help(void) exit(0); } -static void process_options(int argc, const char *argv[]) +static void process_options(int argc, char * const argv[]) { int error = 0, counter; @@ -538,7 +538,7 @@ static void open_counters(int cpu, pid_t pid) nr_cpu++; } -int cmd_record(int argc, const char **argv) +int cmd_record(int argc, char * const argv[]) { int i, counter; pid_t pid; |