perftool.py: imported PerfData code to parse 'perf stat' output