perfmon2 minimal: X86 generic hooks
PATCH 6/21 perfmon2 minimal: X86 generic hooks
This patch adds the generic X86 hooks to support perfmon2. And in particular the Makefile and header file export.
--
arch/x86/Makefile +2 -0
@@ -176,6 +176,8 @@ core-y += arch/x86/kernel/ core-y += arch/x86/mm/ +core-$(CONFIG_PERFMON) += arch/x86/perfmon/ + # Remaining sub architecture files core-y += $(mcore-y)
include/asm-x86/Kbuild +1 -0
@@ -11,6 +11,7 @@ header-y += sigcontext32.h header-y += ucontext.h header-y += processor-flags.h +header-y += perfmon.h unifdef-y += e820.h unifdef-y += ist.h
arch/x86/Kconfig +2 -0
@@ -1306,6 +1306,8 @@ If unsure, say Y. +source "arch/x86/perfmon/Kconfig" + endmenu config ARCH_ENABLE_MEMORY_HOTPLUG
Hi Stephane,
arch/x86/Makefile line 179
Quoted 7 lines · On Mon, 09 Jun 2008 15:33:58 -0700 (PDT) [email protected] wrote:
+++ o/arch/x86/Makefile 2008-06-02 18:54:41.000000000 +0200
arch/x86/Makefile +1
-0@@ -176,6 +176,8 @@ core-y += arch/x86/kernel/ core-y += arch/x86/mm/ +core-$(CONFIG_PERFMON) += arch/x86/perfmon/
Again, this needs to come after some code is added to arch/x86/perfmon/ so that bisections still work.
include/asm-x86/Kbuild line 14
Quoted 6 lines
include/asm-x86/Kbuild +2
-0+++ o/include/asm-x86/Kbuild 2008-06-02 18:54:41.000000000 +0200@@ -11,6 +11,7 @@ header-y += sigcontext32.h header-y += ucontext.h header-y += processor-flags.h +header-y += perfmon.h
And this bit should go in the patch that adds that file.
arch/x86/Kconfig line 1309
Quoted 6 lines
arch/x86/Kconfig +2
-0+++ o/arch/x86/Kconfig 2008-06-02 18:54:41.000000000 +0200@@ -1306,6 +1306,8 @@ If unsure, say Y. +source "arch/x86/perfmon/Kconfig"
Same here.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Stephen,
Ok, I will fold those chunks into the patch that adds the files, i.e., perfmon-x86.diff
Thanks.
Quoted 37 lines · Stephen Rothwell
Hi Stephane,
arch/x86/Makefile line 179
Quoted 7 lines · On Mon, 09 Jun 2008 15:33:58 -0700 (PDT) [email protected] wrote:
+++ o/arch/x86/Makefile 2008-06-02 18:54:41.000000000 +0200
arch/x86/Makefile +1
-0@@ -176,6 +176,8 @@ core-y += arch/x86/kernel/ core-y += arch/x86/mm/ +core-$(CONFIG_PERFMON) += arch/x86/perfmon/Again, this needs to come after some code is added to
arch/x86/perfmon/so that bisections still work.include/asm-x86/Kbuild line 14
Quoted 6 lines
include/asm-x86/Kbuild +2
-0+++ o/include/asm-x86/Kbuild 2008-06-02 18:54:41.000000000 +0200@@ -11,6 +11,7 @@ header-y += sigcontext32.h header-y += ucontext.h header-y += processor-flags.h +header-y += perfmon.hAnd this bit should go in the patch that adds that file.
arch/x86/Kconfig line 1309
Quoted 6 lines
arch/x86/Kconfig +2
-0+++ o/arch/x86/Kconfig 2008-06-02 18:54:41.000000000 +0200@@ -1306,6 +1306,8 @@ If unsure, say Y. +source "arch/x86/perfmon/Kconfig"Same here.
--
Cheers,
Stephen Rothwell [email protected]
http://www.canb.auug.org.au/~sfr/