linux/arch/metag/kernel
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
..
perf metag: perf: don't reset TXTACTCYC 2013-03-15 13:20:15 +00:00
.gitignore
asm-offsets.c
cachepart.c
clock.c
core_reg.c
da.c metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
devtree.c metag: copy devicetree to non-init memory 2013-03-02 20:11:17 +00:00
dma.c
ftrace_stub.S
ftrace.c
head.S
irq.c
kick.c metag: move kick.c exports out of metag_ksyms.c 2013-03-02 20:11:15 +00:00
machines.c
Makefile metag: Add JTAG Debug Adapter (DA) support 2013-03-02 20:09:56 +00:00
metag_ksyms.c metag: cleanup metag_ksyms.c includes 2013-03-02 20:11:16 +00:00
module.c
perf_callchain.c
process.c
ptrace.c
setup.c metag: copy devicetree to non-init memory 2013-03-02 20:11:17 +00:00
signal.c
smp.c metag: protect more non-MMU memory regions 2013-03-02 20:09:58 +00:00
stacktrace.c
sys_metag.c
tbiunexp.S
tcm.c
time.c
topology.c
traps.c ImgTec Meta architecture changes for v3.9-rc1 2013-03-03 12:06:09 -08:00
user_gateway.S
vmlinux.lds.S