perf/x86-ibs: Extend hw period that triggers overflow
authorRobert Richter <robert.richter@amd.com>
Mon, 2 Apr 2012 18:19:15 +0000 (20:19 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 May 2012 13:23:15 +0000 (15:23 +0200)
commit7caaf4d8241feecafb87919402b0a6dbb1b71d9e
tree010358e8d67b75dc11ba27221e221500ad0e4882
parentfc006cf7cc7471e1bdf34e40111971e03622af6c
perf/x86-ibs: Extend hw period that triggers overflow

If the last hw period is too short we might hit the irq handler which
biases the results. Thus try to have a max last period that triggers
the sw overflow.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1333390758-10893-10-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_amd_ibs.c