Add perf counters to graph.