Added ability to set marker for profiling events.