PLEASE HELP regarding System Tap

Khushboo Goel kgoel@usc.edu
Mon Jul 7 21:25:00 GMT 2008


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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_check_FILE.stap~
Type: application/octet-stream
Size: 6975 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20080707/902c00c8/attachment.obj>


More information about the Systemtap mailing list