lkml.org 
[lkml]   [2010]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:perf/core] jump label: x86 support
On 09/24/2010 02:01 AM, tip-bot for Jason Baron wrote:
> Commit-ID: d9f5ab7b1c0a520867af389bab5d5fcdbd0e407e
> Gitweb: http://git.kernel.org/tip/d9f5ab7b1c0a520867af389bab5d5fcdbd0e407e
> Author: Jason Baron <jbaron@redhat.com>
> AuthorDate: Fri, 17 Sep 2010 11:09:22 -0400
> Committer: Steven Rostedt <rostedt@goodmis.org>
> CommitDate: Wed, 22 Sep 2010 16:33:03 -0400
>
> jump label: x86 support
>
> add x86 support for jump label. I'm keeping this patch separate so its clear
> to arch maintainers what was required for x86 support this new feature.
> Hopefully, it wouldn't be too painful for other archs.
>
> Signed-off-by: Jason Baron <jbaron@redhat.com>
> LKML-Reference: <f838f49f40fbea0254036194be66dc48b598dcea.1284733808.git.jbaron@redhat.com>
>
> [ cleaned up some formatting ]
>
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
> ---
> arch/x86/Kconfig | 1 +
> arch/x86/include/asm/jump_label.h | 47 ++++++++++++++++++++++++++++++++++
> arch/x86/kernel/Makefile | 2 +-
> arch/x86/kernel/jump_label.c | 50 +++++++++++++++++++++++++++++++++++++
> arch/x86/kernel/module.c | 3 ++
> 5 files changed, 102 insertions(+), 1 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index cea0cd9..afcd663 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -59,6 +59,7 @@ config X86
> select ANON_INODES
> select HAVE_ARCH_KMEMCHECK
> select HAVE_USER_RETURN_NOTIFIER
> + select HAVE_ARCH_JUMP_LABEL if !CC_OPTIMIZE_FOR_SIZE
>
> config INSTRUCTION_DECODER
> def_bool (KPROBES || PERF_EVENTS)

What the heck? I had NAKed at least this chunk already...

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.



\
 
 \ /
  Last update: 2010-09-27 20:09    [W:0.216 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site