]> git.karo-electronics.de Git - linux-beck.git/commitdiff
perf record: Straighten out argv types
authorIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 07:02:27 +0000 (09:02 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 26 May 2009 08:05:56 +0000 (10:05 +0200)
[ 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>
Documentation/perf_counter/builtin-record.c

index 1b19f187d3529699b00a53ab7632a5b71e3c35f1..f225efaff9f5201a3f579cfe8d7655b22244ed1a 100644 (file)
@@ -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;