Making the performance_counters example work again