android_kernel_xiaomi_sm8350/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
Kconfig
Makefile
nmi_int.c [PATCH] oprofile: Fix unnecessary cleverness 2006-06-26 09:58:17 -07:00
nmi_timer_int.c
op_counter.h
op_model_athlon.c
op_model_p4.c
op_model_ppro.c
op_x86_model.h