From: Graydon H. <gr...@us...> - 2002-11-14 04:12:36
|
Update of /cvsroot/oprofile/oprofile In directory usw-pr-cvs1:/tmp/cvs-serv6371 Modified Files: ChangeLog README TODO configure.in Log Message: patch okayed by John Levon, Philippe Elie [ ChangeLog ] 2002-11-13 Graydon Hoare <gr...@re...> ( this changeset is mostly Dave Jones' work ) * README: * TODO: * configure.in: * doc/oprofile.xml: * libop/op_cpu_type.c: * libop/op_cpu_type.h: * libop/op_events.c: * utils/op_help.c: * module/compat.h: * module/compat24.h: * module/op_util.c: * module/x86/Makefile.in: * module/x86/apic_compat.h: * module/x86/arch.h: * module/x86/cpu_type.c: * module/x86/op_fixmap.c: * module/x86/op_nmi.c: minor additions for hammer support. * module/x86/op_apic.c: * module/x86/op_apic.h: major cleanup; add hammer support. * module/x86/hammer_entry.S: * module/x86/hammer_ia32entry.S: * module/x86/hammer_op_syscalls.c: * module/x86/hammer_oprofile_nmi.S: new hammer support files. Index: ChangeLog =================================================================== RCS file: /cvsroot/oprofile/oprofile/ChangeLog,v retrieving revision 1.687 retrieving revision 1.688 diff -u -d -r1.687 -r1.688 --- ChangeLog 14 Nov 2002 00:56:02 -0000 1.687 +++ ChangeLog 14 Nov 2002 04:12:33 -0000 1.688 @@ -1,3 +1,33 @@ +2002-11-13 Graydon Hoare <gr...@re...> + + ( this changeset is mostly Dave Jones' work ) + + * README: + * TODO: + * configure.in: + * doc/oprofile.xml: + * libop/op_cpu_type.c: + * libop/op_cpu_type.h: + * libop/op_events.c: + * utils/op_help.c: + * module/compat.h: + * module/compat24.h: + * module/op_util.c: + * module/x86/Makefile.in: + * module/x86/apic_compat.h: + * module/x86/arch.h: + * module/x86/cpu_type.c: + * module/x86/op_fixmap.c: + * module/x86/op_nmi.c: minor additions for hammer support. + + * module/x86/op_apic.c: + * module/x86/op_apic.h: major cleanup; add hammer support. + + * module/x86/hammer_entry.S: + * module/x86/hammer_ia32entry.S: + * module/x86/hammer_op_syscalls.c: + * module/x86/hammer_oprofile_nmi.S: new hammer support files. + 2002-11-14 John Levon <le...@mo...> * configure.in: hack around case where clean checkout Index: README =================================================================== RCS file: /cvsroot/oprofile/oprofile/README,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- README 6 Nov 2002 23:50:18 -0000 1.18 +++ README 14 Nov 2002 04:12:33 -0000 1.19 @@ -11,7 +11,8 @@ started the Qt2 oprofile interface, wrote the source annotation facility, and much more. -Dave Jones <da...@su...> provided bug fixes and the Athlon support. +Dave Jones <da...@su...> provided bug fixes and support for +the AMD Athlon, and AMD Hammer families of CPUs. Bob Montgomery <bo...@fc...> provided bug fixes, the initial RTC driver and the initial ia64 driver. Index: TODO =================================================================== RCS file: /cvsroot/oprofile/oprofile/TODO,v retrieving revision 1.138 retrieving revision 1.139 diff -u -d -r1.138 -r1.139 --- TODO 9 Nov 2002 21:37:44 -0000 1.138 +++ TODO 14 Nov 2002 04:12:33 -0000 1.139 @@ -81,5 +81,7 @@ o we don't really need a vmlinux file during profiling ... o Other x86 processors + - AMD Hammer in progress (davej). + - VIA Eden now has (woo!) 3 events. o other processors through RTC iff we find testers Index: configure.in =================================================================== RCS file: /cvsroot/oprofile/oprofile/configure.in,v retrieving revision 1.125 retrieving revision 1.126 diff -u -d -r1.125 -r1.126 --- configure.in 14 Nov 2002 00:56:02 -0000 1.125 +++ configure.in 14 Nov 2002 04:12:33 -0000 1.126 @@ -136,18 +136,29 @@ fi arch="unknown" - AC_MSG_CHECKING([for x86 architecture]) - AX_COMPILE_OPTION(CONFIG_X86, x86=1, x86=0) - AX_COMPILE_OPTION(CONFIG_X86_WP_WORKS_OK, x86=1, x86=$x86) - AX_MSG_RESULT_YN($x86) - test "$x86" = 1 && arch="x86" - - if test "$arch" = "unknown"; then - AC_MSG_CHECKING(for ia64 architecture) - AX_COMPILE_OPTION(CONFIG_IA64, ia64=1, ia64=0) - AX_MSG_RESULT_YN($ia64) - test "$ia64" = 1 && arch="ia64" + AC_MSG_CHECKING(for x86-64 architecture) + AX_COMPILE_OPTION(CONFIG_X86_64, x8664=1, x8664=0) + AX_MSG_RESULT_YN($x8664) + BUILD_HAMMER=no + if test "$x8664" -eq 1; then + arch="x86" + BUILD_HAMMER=yes + else + AC_MSG_CHECKING(for x86 architecture) + AX_COMPILE_OPTION(CONFIG_X86, x86=1, x86=0) + AX_COMPILE_OPTION(CONFIG_X86_WP_WORKS_OK, x86=1, x86=$x86) + AX_MSG_RESULT_YN($x86) + test "$x86" = 1 && arch="x86" + + if test "$arch" = "unknown"; then + AC_MSG_CHECKING(for ia64 architecture) + AX_COMPILE_OPTION(CONFIG_IA64, ia64=1, ia64=0) + AX_MSG_RESULT_YN($ia64) + test "$ia64" = 1 && arch="ia64" + fi + fi + AC_SUBST(BUILD_HAMMER) test "$arch" = "unknown" && AC_MSG_ERROR(Unsupported architecture) (cd ${srcdir}/module/ && rm -f arch/ && ln -s $arch arch) |