I'd like to move some trivial kernel stats to userspace for further examination. ktr seems ok for small amounts of data gathered in a small time period. Periodically running ktrdump (polling the ktr indexes and using the timestamps to know when you've missed any events) would probably work, but it's a rather dumb solution. Am I missing some other mechanism?
Thanks, Aggelos
