createPerformanceEvent

fun createPerformanceEvent(component: Component, componentsLogger: ComponentsLogger?, eventId: Int): PerfEvent?

Creates a PerfEvent for the given {@param eventId}. If the used ComponentsLogger is not interested in that event, it will return null.