Skip to content

Commit

Permalink
perf record: Straighten out argv types
Browse files Browse the repository at this point in the history
[ 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>
  • Loading branch information
Ingo Molnar committed May 26, 2009
1 parent 329d876 commit 69aa48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/perf_counter/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 69aa48a

Please sign in to comment.