Linux performance counters for python