summaryrefslogtreecommitdiff
path: root/Documentation/perf_counter/builtin-top.c
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2009-05-29 08:23:16 +0200
committerIngo Molnar <mingo@elte.hu>2009-05-29 09:03:57 +0200
commitda417a7537cbf4beb28a08a49adf915f2358040c (patch)
treee7d76441c431ca64ae6b2c866218b00fbaea14e8 /Documentation/perf_counter/builtin-top.c
parenta3ec8d70f1a55acccc4874fe9b4dadbbb9454a0f (diff)
downloadlwn-da417a7537cbf4beb28a08a49adf915f2358040c.tar.gz
lwn-da417a7537cbf4beb28a08a49adf915f2358040c.zip
perf_counter tools: Fix top symbol table max_ip typo
Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 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)
node = rb_last(&kernel_dso->syms);
sym = rb_entry(node, struct symbol, rb_node);
- max_ip = sym->start;
+ max_ip = sym->end;
if (dump_symtab)
dso__fprintf(kernel_dso, stderr);