From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12171 invoked by alias); 2 Feb 2010 21:41:12 -0000 Received: (qmail 12162 invoked by uid 22791); 2 Feb 2010 21:41:11 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Feb 2010 21:41:06 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o12Lf4Aq031066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Feb 2010 16:41:04 -0500 Received: from dhcp-100-2-132.bos.redhat.com (dhcp-100-2-132.bos.redhat.com [10.16.2.132]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o12Lf22O006674; Tue, 2 Feb 2010 16:41:02 -0500 From: Masami Hiramatsu Subject: [PATCH -tip 0/4] kprobes updates To: Ingo Molnar , lkml Cc: Steven Rostedt , =?utf-8?q?Przemys=C5=82aw?= =?utf-8?q?Pawe=C5=82czyk?= , Frederic Weisbecker , Ananth N Mavinakayanahalli , Jim Keniston , Mathieu Desnoyers , Jason Baron , systemtap, DLE Date: Tue, 02 Feb 2010 21:41:00 -0000 Message-ID: <20100202214856.4694.72709.stgit@dhcp-100-2-132.bos.redhat.com> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00302.txt.bz2 Hi, Here are patches for updating kprobes. Actually, the first patch is same as that previously I sent to LKML. 2nd-4th patches introduces text reserve functions for avoiding conflictions between alternatives/ ftrace and kprobes. Since alternatives and ftrace can modify fixed small pieces of kernel text, I think those should come before kprobes. Thank you, --- Masami Hiramatsu (4): ftrace: Remove record freezing kprobes: Check probe address is reserved ftrace/alternatives: Introducing *_text_reserved functions [RESEND] kprobes: Disable booster when CONFIG_PREEMPT=y arch/ia64/kernel/kprobes.c | 2 + arch/x86/include/asm/alternative.h | 5 +++ arch/x86/kernel/alternative.c | 16 +++++++++++ arch/x86/kernel/kprobes.c | 5 +++ include/linux/ftrace.h | 7 ++++- kernel/kprobes.c | 33 +++------------------- kernel/trace/ftrace.c | 54 ++++++++++-------------------------- 7 files changed, 52 insertions(+), 70 deletions(-) -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com