aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-02-27 21:54:51 +0000
committerJames Hogan <james.hogan@imgtec.com>2013-03-15 13:20:15 +0000
commit1fb4dc5c39af941d3abc597337e0ea776bfce0f2 (patch)
tree3a5a08501b8f421de3d69263c0bad38bd95221d1 /tools/perf/scripts/python/export-to-postgresql.py
parentmetag: perf: use hard_processor_id() to get thread (diff)
downloadlinux-dev-1fb4dc5c39af941d3abc597337e0ea776bfce0f2.tar.xz
linux-dev-1fb4dc5c39af941d3abc597337e0ea776bfce0f2.zip
metag: perf: don't reset TXTACTCYC
The thread active cycle counter TXTACTCYC is used in __delay so it shouldn't really be reset to zero by perf. Fix perf to just read the value, and instead of clearing it, record the prev_count value in enable_counter so that the delta calculations know about the previous value. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions