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: Top syscalls


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



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