Hi John,

        I was looking at the hooks that OProfile uses and was wondering how hard it would be to
add one for switch_to(context_switch).   The mechanism  for
profile_event_register ( PROFILE_TASK_EXIT, PROFILE_MUNMAP) looks like it could be expanded fairly easily.
       
Did you write the profile_event_register code?
Do you think it would be hard to get an additional hook into the kernel?

Thanks...