diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index ed9b5b6905fa..397290a0a76e 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -71,7 +71,7 @@ static int thread_num = 0; | |||
71 | static bool inherit = false; | 71 | static bool inherit = false; |
72 | static int profile_cpu = -1; | 72 | static int profile_cpu = -1; |
73 | static int nr_cpus = 0; | 73 | static int nr_cpus = 0; |
74 | static unsigned int realtime_prio = 0; | 74 | static int realtime_prio = 0; |
75 | static bool group = false; | 75 | static bool group = false; |
76 | static unsigned int page_size; | 76 | static unsigned int page_size; |
77 | static unsigned int mmap_pages = 16; | 77 | static unsigned int mmap_pages = 16; |
@@ -96,7 +96,7 @@ struct source_line { | |||
96 | struct source_line *next; | 96 | struct source_line *next; |
97 | }; | 97 | }; |
98 | 98 | ||
99 | static char *sym_filter = NULL; | 99 | static const char *sym_filter = NULL; |
100 | struct sym_entry *sym_filter_entry = NULL; | 100 | struct sym_entry *sym_filter_entry = NULL; |
101 | struct sym_entry *sym_filter_entry_sched = NULL; | 101 | struct sym_entry *sym_filter_entry_sched = NULL; |
102 | static int sym_pcnt_filter = 5; | 102 | static int sym_pcnt_filter = 5; |
@@ -1357,8 +1357,7 @@ static const struct option options[] = { | |||
1357 | "file", "vmlinux pathname"), | 1357 | "file", "vmlinux pathname"), |
1358 | OPT_BOOLEAN('K', "hide_kernel_symbols", &hide_kernel_symbols, | 1358 | OPT_BOOLEAN('K', "hide_kernel_symbols", &hide_kernel_symbols, |
1359 | "hide kernel symbols"), | 1359 | "hide kernel symbols"), |
1360 | OPT_INTEGER('m', "mmap-pages", &mmap_pages, | 1360 | OPT_UINTEGER('m', "mmap-pages", &mmap_pages, "number of mmap data pages"), |
1361 | "number of mmap data pages"), | ||
1362 | OPT_INTEGER('r', "realtime", &realtime_prio, | 1361 | OPT_INTEGER('r', "realtime", &realtime_prio, |
1363 | "collect data with this RT SCHED_FIFO priority"), | 1362 | "collect data with this RT SCHED_FIFO priority"), |
1364 | OPT_INTEGER('d', "delay", &delay_secs, | 1363 | OPT_INTEGER('d', "delay", &delay_secs, |