mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 06/21] perfmon2 minimal:  X86 generic hooks
@ 2008-06-09 22:33 eranian
  2008-06-15  1:25 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: eranian @ 2008-06-09 22:33 UTC (permalink / raw)
  To: linux-kernel

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

-- 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 06/21] perfmon2 minimal:  X86 generic hooks
  2008-06-09 22:33 [patch 06/21] perfmon2 minimal: X86 generic hooks eranian
@ 2008-06-15  1:25 ` Stephen Rothwell
  2008-06-16 16:26   ` stephane eranian
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2008-06-15  1:25 UTC (permalink / raw)
  To: eranian; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 949 bytes --]

Hi Stephane,

On Mon, 09 Jun 2008 15:33:58 -0700 (PDT) eranian@googlemail.com wrote:
>
> +++ 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/

Again, this needs to come after some code is added to arch/x86/perfmon/
so that bisections still work.

> +++ 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.

> +++ 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                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 06/21] perfmon2 minimal: X86 generic hooks
  2008-06-15  1:25 ` Stephen Rothwell
@ 2008-06-16 16:26   ` stephane eranian
  0 siblings, 0 replies; 3+ messages in thread
From: stephane eranian @ 2008-06-16 16:26 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-kernel

Stephen,

Ok, I will fold those  chunks into the patch that adds the files,
i.e., perfmon-x86.diff

Thanks.


On Sun, Jun 15, 2008 at 3:25 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Stephane,
>
> On Mon, 09 Jun 2008 15:33:58 -0700 (PDT) eranian@googlemail.com wrote:
>>
>> +++ 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/
>
> Again, this needs to come after some code is added to arch/x86/perfmon/
> so that bisections still work.
>
>> +++ 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.
>
>> +++ 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                    sfr@canb.auug.org.au
> http://www.canb.auug.org.au/~sfr/
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-16 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-09 22:33 [patch 06/21] perfmon2 minimal: X86 generic hooks eranian
2008-06-15  1:25 ` Stephen Rothwell
2008-06-16 16:26   ` stephane eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®