perf_counter tools: fix comment for sym_weight()
authorWu Fengguang <fengguang.wu@intel.com>
Fri, 20 Mar 2009 02:08:07 +0000 (10:08 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:30:22 +0000 (09:30 +0200)
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/kerneltop.c

index 9db65a4..7bf2a51 100644 (file)
@@ -473,7 +473,7 @@ static struct sym_entry             sym_table[MAX_SYMS];
 static void show_details(struct sym_entry *sym);
 
 /*
- * Ordering weight: count-1 * count-1 * ... / count-n
+ * Ordering weight: count-1 * count-2 * ... / count-n
  */
 static double sym_weight(const struct sym_entry *sym)
 {