lkml.org 
[lkml]   [2008]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 06/21] perfmon2 minimal: X86 generic hooks
From
Date
This patch adds the generic X86 hooks to support perfmon2.
And in particular the Makefile and header file export.

Signed-off-by: Stephane Eranian <eranian@gmail.com>
--

Index: o/arch/x86/Makefile
===================================================================
--- o.orig/arch/x86/Makefile 2008-06-02 18:53:33.000000000 +0200
+++ o/arch/x86/Makefile 2008-06-02 18:54:41.000000000 +0200
@@ -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)

Index: o/include/asm-x86/Kbuild
===================================================================
--- o.orig/include/asm-x86/Kbuild 2008-06-02 18:53:33.000000000 +0200
+++ 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

unifdef-y += e820.h
unifdef-y += ist.h
Index: o/arch/x86/Kconfig
===================================================================
--- o.orig/arch/x86/Kconfig 2008-06-02 18:53:33.000000000 +0200
+++ 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"
+
endmenu

config ARCH_ENABLE_MEMORY_HOTPLUG
--



\
 
 \ /
  Last update: 2008-06-10 00:39    [W:0.068 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site