From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1730 invoked by alias); 23 Jun 2009 19:40:35 -0000 Received: (qmail 1720 invoked by uid 22791); 23 Jun 2009 19:40:32 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx3.mail.elte.hu (HELO mx3.mail.elte.hu) (157.181.1.138) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Jun 2009 19:40:25 +0000 Received: from elvis.elte.hu ([157.181.1.14]) by mx3.mail.elte.hu with esmtp (Exim) id 1MJBqm-0003Wy-28 from ; Tue, 23 Jun 2009 21:40:12 +0200 Received: by elvis.elte.hu (Postfix, from userid 1004) id 6C9BA3E22AC; Tue, 23 Jun 2009 21:40:11 +0200 (CEST) Date: Tue, 23 Jun 2009 19:40:00 -0000 From: Ingo Molnar To: Masami Hiramatsu Cc: Ananth N Mavinakayanahalli , lkml , "H. Peter Anvin" , Frederic Weisbecker , Jim Keniston , Srikar Dronamraju , Christoph Hellwig , Steven Rostedt , Anders Kaseorg , Tim Abbott , systemtap , DLE Subject: Re: [RFC][ PATCH -tip v2 0/7] kprobes: Kprobes jump optimization support Message-ID: <20090623194009.GA8777@elte.hu> References: <20090622212255.5384.53732.stgit@localhost.localdomain> <20090623114252.GB9497@elte.hu> <4A40E153.9030704@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A40E153.9030704@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Received-SPF: neutral (mx3: 157.181.1.14 is neither permitted nor denied by domain of elte.hu) client-ip=157.181.1.14; envelope-from=mingo@elte.hu; helo=elvis.elte.hu; X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 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: 2009-q2/txt/msg01018.txt.bz2 * Masami Hiramatsu wrote: > Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > > > >> o Usage > >> Set CONFIG_OPTPROBES=y when building a kernel, then all *probes will be > >> optimized if possible. > > > > Should be default-y if KPROBES is enabled. I.e. we really only want > > to disable it to debug potential issues. > > Sure, thanks! Plus i'd suggest a runtime control (a sysctl) as well - if it's not too intrusive. Since this is an optional speedup feature, distros can have this enabled and if there's some problem with it then it can still be disabled in sysctl.conf, without having to rebuild the kernel. Ingo