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: PLEASE HELP regarding System Tap


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


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