Update profile module (in progress, not compiling)

Add get_profiling_info macro to event module.