Today I finished the first step of kernel hooks in POE, I added a hook for dispatch_state and a hook_set and hook_remove. This lets yous run a hook before and after any or a certain session does any or a certain event. It also lets you override the dispatch engine and do your own dispatching.
This will hopefully make it easier for people to extand and play with new features in POE. I myself did a simple poeprofiler script that profiles session and states and then prints output at the end. It is pretty simple, rather cool and uses times(). It could however be extended dramaticly. Good night!
aRtUr