aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0d100f52b70d..ebe8bec1a0e8 100644
--- a/Documentation/perf_counter/builtin-top.c
+++ b/Documentation/perf_counter/builtin-top.c
@@ -368,7 +368,7 @@ static int parse_symbols(void)
368 368
369 node = rb_last(&kernel_dso->syms); 369 node = rb_last(&kernel_dso->syms);
370 sym = rb_entry(node, struct symbol, rb_node); 370 sym = rb_entry(node, struct symbol, rb_node);
371 max_ip = sym->start; 371 max_ip = sym->end;
372 372
373 if (dump_symtab) 373 if (dump_symtab)
374 dso__fprintf(kernel_dso, stderr); 374 dso__fprintf(kernel_dso, stderr);