From: Maynard J. <may...@us...> - 2007-02-02 16:29:55
|
Update of /cvsroot/oprofile/oprofile/libop In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10624/libop Modified Files: op_cpu_type.c op_cpu_type.h op_events.c Log Message: Add specific support for PowerPC970MP Index: op_cpu_type.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_cpu_type.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -p -d -r1.39 -r1.40 --- op_cpu_type.c 3 Jan 2007 20:32:48 -0000 1.39 +++ op_cpu_type.c 2 Feb 2007 16:27:31 -0000 1.40 @@ -48,6 +48,7 @@ static struct cpu_descr const cpu_descrs { "ppc64 POWER5+", "ppc64/power5+", CPU_PPC64_POWER5p, 6 }, { "ppc64 POWER6", "ppc64/power6", CPU_PPC64_POWER6, 4 }, { "ppc64 970", "ppc64/970", CPU_PPC64_970, 8 }, + { "ppc64 970MP", "ppc64/970MP", CPU_PPC64_970MP, 8 }, { "ppc64 Cell Broadband Engine", "ppc64/cell-be", CPU_PPC64_CELL, 8 }, { "MIPS 20K", "mips/20K", CPU_MIPS_20K, 1}, { "MIPS 24K", "mips/24K", CPU_MIPS_24K, 2}, Index: op_cpu_type.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_cpu_type.h,v retrieving revision 1.32 retrieving revision 1.33 diff -u -p -d -r1.32 -r1.33 --- op_cpu_type.h 3 Jan 2007 20:32:48 -0000 1.32 +++ op_cpu_type.h 2 Feb 2007 16:27:31 -0000 1.33 @@ -44,6 +44,7 @@ typedef enum { CPU_PPC64_POWER5p, /**< ppc64 Power5+ family */ CPU_PPC64_POWER6, /**< ppc64 POWER6 family */ CPU_PPC64_970, /**< ppc64 970 family */ + CPU_PPC64_970MP, /**< ppc64 970MP */ CPU_PPC64_CELL, /**< ppc64 Cell Broadband Engine*/ CPU_MIPS_20K, /**< MIPS 20K */ CPU_MIPS_24K, /**< MIPS 24K */ Index: op_events.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libop/op_events.c,v retrieving revision 1.77 retrieving revision 1.78 diff -u -p -d -r1.77 -r1.78 --- op_events.c 3 Jan 2007 20:32:48 -0000 1.77 +++ op_events.c 2 Feb 2007 16:27:31 -0000 1.78 @@ -643,6 +643,7 @@ char const * find_mapping_for_event(u32 char const * map = NULL; switch (cpu_type) { case CPU_PPC64_970: + case CPU_PPC64_970MP: case CPU_PPC64_POWER4: case CPU_PPC64_POWER5: case CPU_PPC64_POWER5p: @@ -786,6 +787,7 @@ void op_default_event(op_cpu cpu_type, s break; case CPU_PPC64_970: + case CPU_PPC64_970MP: case CPU_PPC_7450: case CPU_PPC64_POWER4: case CPU_PPC64_POWER5: |