We have a kernel profiler that we have been using to profile i/oops. It should be easily extendible to other kernel functions andit logs data to an array where it can be read by a daemon.If you want, I can make the source available.