kernel-fxtec-pro1x/arch/metag/kernel
James Hogan 2033dc54e6 metag: perf: fix frequency sampling (dynamic period)
Frequency sampling mode dynamically adjusts the sample period so as to
hit a particular frequency of samples. The sample period starts at just
1 and then gets increased if the interrupt rate is too high. This
changed sample period needs handling in metag_pmu_event_set_period to
update period_left (as the ARM equivalent does). The calculated delta
also needs subtracting from period_left in metag_pmu_event_update in
order to hit the conditional blocks in metag_pmu_event_set_period which
update last_period (which is used in the dynamic sampling period
calculation).

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:07 +00:00
..
perf metag: perf: fix frequency sampling (dynamic period) 2013-03-15 13:20:07 +00:00
.gitignore
asm-offsets.c
cachepart.c
clock.c
core_reg.c
da.c
devtree.c
dma.c
ftrace.c
ftrace_stub.S
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