mirror of https://gitee.com/openkylin/linux.git
perfcounter tools: fix pointer mismatch
Neither process_options nor execvp take an const **char as argument. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
a92e70237c
commit
7bd5469cd9
|
@ -332,7 +332,7 @@ static void sigchld_handler(int sig)
|
|||
done = 1;
|
||||
}
|
||||
|
||||
int cmd_record(int argc, const char **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];
|
||||
|
|
Loading…
Reference in New Issue