This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Top syscalls
- From: Tom Zanussi <zanussi at us dot ibm dot com>
- To: Hien Nguyen <hien at us dot ibm dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 13 Sep 2005 09:38:08 -0500
- Subject: Re: Top syscalls
- References: <43260ED4.9070203@us.ibm.com>
Hien Nguyen writes:
>
> Note: In order fro this script to run contineuosly I have to reset
> CONTEXT->actioncount every time I print the list, which breaks Frank's
> safety measure, otherwise I would get this error
>
> ERROR: MAXACTION exceeded near identifier 'sys_cnt' at topsys.stp:33:3
>
> I guess if you are running a script in guru mode such action is allowed.
>
Is there/should there be a way to set/disable MAXACTION? e.g. with
MAXACTION defined as 1000 and MAXMAPENTRIES defined as 2048, it would
seem there's no way to iterate over a full map in non-guru mode.
Also, I could see some applications wanting to set larger values for
MAXMAPENTRIES or MAXSTRINGLEN for instance, so maybe there should be a
general way to supply values for any global definition...
Tom