[Bug 1170] Add INVALID_EVENT in getProfilingInfo