Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756305AbZDHLD6 (ORCPT ); Wed, 8 Apr 2009 07:03:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751138AbZDHLDt (ORCPT ); Wed, 8 Apr 2009 07:03:49 -0400 Received: from one.firstfloor.org ([213.235.205.2]:59914 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750894AbZDHLDs (ORCPT ); Wed, 8 Apr 2009 07:03:48 -0400 Date: Wed, 8 Apr 2009 13:06:02 +0200 From: Andi Kleen To: Ingo Molnar Cc: Masami Hiramatsu , Frederic Weisbecker , Ananth N Mavinakayanahalli , Jim Keniston , Andrew Morton , Vegard Nossum , "H. Peter Anvin" , Steven Rostedt , Andi Kleen , Avi Kivity , "Frank Ch. Eigler" , Satoshi Oshima , systemtap-ml , LKML Subject: Re: [RFC][PROTO][PATCH -tip 0/7] kprobes: support jump optimization on x86 Message-ID: <20090408110602.GA14687@one.firstfloor.org> References: <49DA7702.5030308@redhat.com> <20090408011743.GB5977@nowhere> <49DC0307.6080107@redhat.com> <20090408101056.GA14482@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090408101056.GA14482@elte.hu> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 26 On Wed, Apr 08, 2009 at 12:10:56PM +0200, Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > > > > But can we consider it as a small problem, assuming that kprobes > > > are rarely intended for a massive use in once? I guess that > > > usually, not a lot of functions are probed simultaneously. > > > > Hm, yes and no, systemtap may use massive kprobes, because it > > supports "wildcard" probes. However, optimizing in default may be > > acceptable. > > I'm curious: what is the biggest kprobe count you've ever seen, in > the field? 1000? 10,000? 100,000? More? The limit is iirc how much memory the gcc compiling the probes program consumes before running out of swap space. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/