perf_counter tools: Fix top symbol table max_ip typo
authorMike Galbraith <efault@gmx.de>
Fri, 29 May 2009 06:23:16 +0000 (08:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 May 2009 07:03:57 +0000 (09:03 +0200)
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>
Documentation/perf_counter/builtin-top.c

index 0d100f52b70d987e780975bc995a8e7ac10d6346..ebe8bec1a0e8d80d9a92586b3f6b31f614cac0a0 100644 (file)
@@ -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);