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 9db65a4f104263444337a341090ac9914c3b506d..7bf2a516f18b9c46cad196ed5a5f6520d1c1ff0e 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)
 {