android_kernel_motorola_sm6225/arch/i386/oprofile
Markus Armbruster 0c6856f702 [PATCH] oprofile: Fix unnecessary cleverness
nmi_create_files() in arch/i386/oprofile/nmi_int.c depends on
model->num_counters (number of performance counters) being less than 10.
While this is currently the case, it's too clever by half.

Other archs aren't quite as clever: they assume 100.  I suggest to
normalize them all to 1000.

Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: John Levon <levon@movementarian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 09:58:17 -07:00
..
backtrace.c [PATCH] x86: fix oprofile kernel callgraph regression 2006-02-14 08:25:29 -08:00
init.c [PATCH] Fix function/macro name collision on i386 oprofile 2005-09-07 16:57:29 -07:00
Kconfig [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nmi_int.c [PATCH] oprofile: Fix unnecessary cleverness 2006-06-26 09:58:17 -07:00
nmi_timer_int.c [PATCH] useless includes of linux/irq.h in arch/i386 2005-09-26 18:29:50 -07:00
op_counter.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op_model_athlon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op_model_p4.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op_model_ppro.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
op_x86_model.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00