This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.
> > 
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]