diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index c574c5b3d0e6..d978dc99236c 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -55,26 +55,26 @@ | |||
55 | 55 | ||
56 | static int fd[MAX_NR_CPUS][MAX_COUNTERS]; | 56 | static int fd[MAX_NR_CPUS][MAX_COUNTERS]; |
57 | 57 | ||
58 | static int system_wide = 0; | 58 | static int system_wide = 0; |
59 | 59 | ||
60 | static int default_interval = 100000; | 60 | static int default_interval = 100000; |
61 | 61 | ||
62 | static int count_filter = 5; | 62 | static int count_filter = 5; |
63 | static int print_entries = 15; | 63 | static int print_entries = 15; |
64 | 64 | ||
65 | static int target_pid = -1; | 65 | static int target_pid = -1; |
66 | static int inherit = 0; | 66 | static int inherit = 0; |
67 | static int profile_cpu = -1; | 67 | static int profile_cpu = -1; |
68 | static int nr_cpus = 0; | 68 | static int nr_cpus = 0; |
69 | static unsigned int realtime_prio = 0; | 69 | static unsigned int realtime_prio = 0; |
70 | static int group = 0; | 70 | static int group = 0; |
71 | static unsigned int page_size; | 71 | static unsigned int page_size; |
72 | static unsigned int mmap_pages = 16; | 72 | static unsigned int mmap_pages = 16; |
73 | static int freq = 0; | 73 | static int freq = 1000; /* 1 KHz */ |
74 | 74 | ||
75 | static int delay_secs = 2; | 75 | static int delay_secs = 2; |
76 | static int zero; | 76 | static int zero = 0; |
77 | static int dump_symtab; | 77 | static int dump_symtab = 0; |
78 | 78 | ||
79 | /* | 79 | /* |
80 | * Source | 80 | * Source |
@@ -87,11 +87,11 @@ struct source_line { | |||
87 | struct source_line *next; | 87 | struct source_line *next; |
88 | }; | 88 | }; |
89 | 89 | ||
90 | static char *sym_filter = NULL; | 90 | static char *sym_filter = NULL; |
91 | struct sym_entry *sym_filter_entry = NULL; | 91 | struct sym_entry *sym_filter_entry = NULL; |
92 | static int sym_pcnt_filter = 5; | 92 | static int sym_pcnt_filter = 5; |
93 | static int sym_counter = 0; | 93 | static int sym_counter = 0; |
94 | static int display_weighted = -1; | 94 | static int display_weighted = -1; |
95 | 95 | ||
96 | /* | 96 | /* |
97 | * Symbols | 97 | * Symbols |