[zzh@ncic.ac.cn: RE: Why systemtap loses events and what can be done about it?]

Jim Keniston jkenisto@us.ibm.com
Wed Sep 5 20:50:00 GMT 2007


On Wed, 2007-09-05 at 08:44 -0700, Mike Mason wrote:
> Is the .maxactive suffix documented anywhere?
> 
> Mike

I assume it maps directly to the maxactive member of struct kretprobe.
Grep for maxactive in Documentation/kprobes.txt.  It appears that in
stap-generated code, maxactive is set to max(10, 4*NR_CPUS) by default.

Jim

> 
> Frank Ch. Eigler wrote:
> > ----- Forwarded message from ??? <zzh@ncic.ac.cn> -----
> > Subject: RE: Why systemtap loses events and what can be done about it?
> > Date: Wed, 5 Sep 2007 21:13:48 +0800
> > 
> > Hi-
> > I optimize my script  by getting rid of the global str_sock, 
> > and add a ".maxactive(1000)"  probe point suffix to  tcp.recvmsg.return.
> > 
...



More information about the Systemtap mailing list