This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [zzh@ncic.ac.cn: RE: Why systemtap loses events and what can be done about it?]
- From: Jim Keniston <jkenisto at us dot ibm dot com>
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 05 Sep 2007 09:38:21 -0700
- Subject: Re: [zzh@ncic.ac.cn: RE: Why systemtap loses events and what can be done about it?]
- References: <20070905133807.GJ24070@redhat.com> <46DECEFB.2010904@us.ibm.com>
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.
> >
...