populatePerfEventFromLogger
fun populatePerfEventFromLogger(c: ComponentContext, logger: ComponentsLogger, perfEvent: PerfEvent?): PerfEvent?
fun populatePerfEventFromLogger(c: ComponentContext, logger: ComponentsLogger, logTag: String?, perfEvent: PerfEvent?): PerfEvent?
Annotate a log event with the log tag set in the context, and extract the TreePropContainer from a given ComponentContext and convert them into perf event annotations using a ComponentsLogger implementation.
Return
Annotated perf event, or null
if the resulting event isn't deemed worthy of reporting.