This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: PLEASE HELP regarding System Tap
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: Khushboo Goel <kgoel at usc dot edu>
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 7 Jul 2008 16:45:38 -0400
- Subject: Re: PLEASE HELP regarding System Tap
- References: <358a5c070807071002i28110b08p8c4213e72cc11386@mail.gmail.com> <20080707182856.GA7805@redhat.com> <358a5c070807071330y8ac23c4ica72cce253f15d13@mail.gmail.com>
Hi -
On Mon, Jul 07, 2008 at 01:30:55PM -0700, Khushboo Goel wrote:
> [...]
> When i use -o option, it gives me buffer overflow error, i am
> anyhow not printing anything on screen,
OK, then "-o" won't matter.
> i am using an aggregate variable to store all information, but i
> have huge data around 50K packets in one run ,which gives me
> overflow buffer[...]
You may need to use a larger MAXMAPENTRIES (see the stap(1) man page),
or explicitly size the buffering aggregate global
global buffer[50000]
I wonder if your array indexing makes sense though. Can you post your
full script?
- FChE