linux/arch/metag
James Hogan 1fb4dc5c39 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>
2013-03-15 13:20:15 +00:00
..
boot
configs
include
kernel metag: perf: don't reset TXTACTCYC 2013-03-15 13:20:15 +00:00
lib
mm metag: Inhibit NUMA balancing. 2013-03-04 10:29:19 +00:00
tbx
Kconfig
Kconfig.debug
Kconfig.soc
Makefile