analysis of polling in systemtap

Frank Ch. Eigler fche@redhat.com
Wed Dec 21 19:58:00 GMT 2005


Hi -

hunt wrote:

> [...] The real problem I want to solve is how to better handle timer
> events that print data and then clear a pmap. Because clearing a
> large pmap can be expensive and could be done for free while
> aggregating it.

This idiom (iterating then clearing an array) may well be frequent
enough to justify yet another addition to the "foreach" syntax, say a
"delete" keyword somewhere in the mix.  Before long, we'll get to the
Common Lisp LOOP macro.

- FChE



More information about the Systemtap mailing list