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] | |
On Mon, Jul 7, 2008 at 1:45 PM, Frank Ch. Eigler <fche@redhat.com> wrote: > 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 don't want to use variable like this as, it doesn't solve my problem. > I wonder if your array indexing makes sense though. Can you post your > full script? > Yea i am posting my full script for now, its under work.... I have commented most of thing. Is it possible in System Tap that i can find address of the location in the memory which is assign to the buffer?? So that i can write directly to the location. > > - FChE >
Attachment:
tcp_check_FILE.stap~
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |