lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 8 Apr 2009 09:01:50 -0400
From"Frank Ch. Eigler" <>
SubjectRe: [RFC][PROTO][PATCH -tip 0/7] kprobes: support jump optimization on x86
On Wed, Apr 08, 2009 at 01:06:02PM +0200, Andi Kleen wrote:
> [...]
> > 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.

On a machine with lots of free RAM, gcc will not hold itself back. On
my home server, a 40000-kprobe script compiled (pass 4) in about 4
seconds using about 200MB RAM.
- FChE


\
 
 \ /
  Last update: 2009-04-08 15:13    [from the cache]
©2003-2010