perf_counter: uncouple data_head updates from wakeups