linux/arch/metag/kernel
James Hogan c43ca04b5e metag: perf: fix wrap handling in delta calculation
When calculating the delta, mask with MAX_PERIOD (24 bits) to handle
wrapping, which particularly happens with periodic sampling since the
value is intentionally set so that it will overflow soon.

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:19:54 +00:00
..
perf metag: perf: fix wrap handling in delta calculation 2013-03-15 13:19:54 +00:00
.gitignore
asm-offsets.c
cachepart.c
clock.c
core_reg.c
da.c
devtree.c
dma.c
ftrace_stub.S
ftrace.c
head.S
irq.c
kick.c
machines.c
Makefile
metag_ksyms.c
module.c
perf_callchain.c
process.c
ptrace.c
setup.c
signal.c
smp.c
stacktrace.c
sys_metag.c
tbiunexp.S
tcm.c
time.c
topology.c
traps.c
user_gateway.S
vmlinux.lds.S