]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter: x86: Set the period in the intel overflow handler
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 15 Jun 2009 17:00:20 +0000 (19:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 17 Jun 2009 17:23:52 +0000 (19:23 +0200)
commitc5cd30cd19a08d889d024d75f046a734da8eee46
tree7de1a620cd1067fd46a06d23621afe3482b5a06e
parent3c8487c97f79f58c4b0e9925acf27f7db9f14027
perf_counter: x86: Set the period in the intel overflow handler

Commit 62716b1ebb60cd ("perf_counter: Accurate period data")
missed a spot, which caused all Intel-PMU samples to have a
period of 0.

This broke auto-freq sampling.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c