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: Dealing with empty aggregates?


On 05/19/2011 11:25 PM, Josh Stone wrote:
> We've debated empty-@sum behavior in the past, and IMO it makes perfect
> sense to let @sum(EMPTY) = 0.  Frank has agreed to let this change, with
> appropriate --compatible fallback behavior.  If there are no other
> objections, then I'll go ahead and relax this.

This would certainly suit my use case. I knocked together a quick and dirty
"nfsdtop" for a user a while back and since it worked so well I thought I'd take
another look and convert it to aggregates etc.

The reporting script would definitely be a lot simpler without the need to
special-case empty data sets.

Cheers.
Bryn.


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