This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: simple (dumb) script to track sizes of IOs
Hi -
On Fri, Oct 07, 2005 at 02:18:37PM -0700, Badari Pulavarty wrote:
> [...]
> > > Does this functionality exists today ?
> >
> > Yes, it does. Just to keep the parsing simple, I implemented a simple
> > suffix syntax. For example:
> >
> > foreach (io+ in iosizes) { ... } // in increasing order of io index
> > foreach (io in iosizes-) { ... } // in decreasing order of iosizes[]
By the way, if someone has better suggestions of a nice, compact,
easy-to-read and -parse alternative, let me know.
> BTW, don't you want to do
> foreach(io- in iosizes) { ..}
> to be consistent ?
Such permutations work too.
- FChE