sb1 oprofile
PATCH 1/1 sb1 oprofile
Hello,
The following patch provides oprofile support for the SB1 processors. [Please apply - lol]
/Mark
arch/mips/oprofile/Makefile +1 -0
@@ -12,4 +12,5 @@ oprofile-y := $(DRIVER_OBJS) common.o oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o +oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o
arch/mips/oprofile/common.c +2 -0
@@ -79,6 +79,8 @@ int __init oprofile_arch_init(struct oprcase CPU_20KC :case CPU_24K :case CPU_25KF : +case CPU_SB1 : +case CPU_SB1A : lmodel = &op_model_mipsxx;break ;
arch/mips/oprofile/op_model_mipsxx.c +5 -0
@@ -205,6 +205,11 @@ static int __init mipsxx_init(void) op_model_mipsxx.cpu_type ="mips/5K" ;break ; +case CPU_SB1 : +case CPU_SB1A : + op_model_mipsxx.cpu_type ="mips/sb1" ; +break ; +default :printk (KERN_ERR "Profiling unsupported for this CPU\n" );
Quoted 2 lines · Mark Mason
The following patch provides oprofile support for the SB1 processors. [Please apply - lol]
Ok ;-)
Ralf