kernelspace -> userspace communication

Aggelos Economopoulos aoiko at
Mon Jun 4 06:13:50 PDT 2007

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?


More information about the Kernel mailing list