perf_counter: hook up the tracepoint events