commit | 26ca5c11fb45ae2b2ac7e3574b8db6b3a3c7d350 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Jun 29 18:42:37 2011 +0300 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jul 01 11:06:40 2011 +0200 |
tree | 01f430828eaacf7ba3e0eb541f8d946f3d855696 | |
parent | 0af3ac1fdb9d5c297b4b07c9e0172531d42b6716 [diff] |
perf: export perf_event_refresh() to modules KVM needs one-shot samples, since a PMC programmed to -X will fire after X events and then again after 2^40 events (i.e. variable period). Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1309362157-6596-4-git-send-email-avi@redhat.com Signed-off-by: Ingo Molnar <mingo@elte.hu>