aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/builtin-top.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/perf_counter/builtin-top.c')
-rw-r--r--Documentation/perf_counter/builtin-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/perf_counter/builtin-top.c b/Documentation/perf_counter/builtin-top.c
index 16a618446d3f..7c907e25d82b 100644
--- a/Documentation/perf_counter/builtin-top.c
+++ b/Documentation/perf_counter/builtin-top.c
@@ -175,7 +175,7 @@ static void rb_insert_active_sym(struct rb_root *tree, struct sym_entry *se)
175 175
176static void print_sym_table(void) 176static void print_sym_table(void)
177{ 177{
178 int printed, j; 178 int printed = 0, j;
179 int counter; 179 int counter;
180 float events_per_sec = events/delay_secs; 180 float events_per_sec = events/delay_secs;
181 float kevents_per_sec = (events-userspace_events)/delay_secs; 181 float kevents_per_sec = (events-userspace_events)/delay_secs;