tracing, perf: Convert the power tracer into an event tracer