ag> hwpmc in FreeBSD to do this for me? What I've tried isn't ag> working, but I may just be an idiot. Sampling modes have been turned off in -current (hence the ENOSYS). I'm nearly done with their implementation and will be bringing the code into -current shortly. Regards Koshy <jkoshy at freebsd.org>