projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a92e702
)
perfcounter tools: fix pointer mismatch
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 1 May 2009 16:42:47 +0000
(18:42 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 1 May 2009 16:42:47 +0000
(18:42 +0200)
Neither process_options nor execvp take an const **char as argument.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/perf_counter/builtin-record.c
patch
|
blob
|
history
diff --git
a/Documentation/perf_counter/builtin-record.c
b/Documentation/perf_counter/builtin-record.c
index 59f1d87f41e938592edc15fb21293e2e07913765..3a3deb3fbbc066128d964d35c32c60a4534c2947 100644
(file)
--- a/
Documentation/perf_counter/builtin-record.c
+++ b/
Documentation/perf_counter/builtin-record.c
@@
-332,7
+332,7
@@
static void sigchld_handler(int sig)
done = 1;
}
-int cmd_record(int argc, c
onst c
har **argv)
+int cmd_record(int argc, char **argv)
{
struct pollfd event_array[MAX_NR_CPUS * MAX_COUNTERS];
struct mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS];