summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-06-05 18:01:29 +0200
committerIngo Molnar <mingo@elte.hu>2009-06-05 18:07:48 +0200
commit6a24ed6c6082ec65d19331a4bfa30c0512a1a822 (patch)
tree0d8beed316cf34cd8e986eb2f9b230a29caa6c88 /include
parent689802b2d0536e72281dc959ab9cb34fb3c304cf (diff)
downloadop-kernel-dev-6a24ed6c6082ec65d19331a4bfa30c0512a1a822.zip
op-kernel-dev-6a24ed6c6082ec65d19331a4bfa30c0512a1a822.tar.gz
perf_counter: Fix frequency adjustment for < HZ
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/perf_counter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 6bc2500..4f9d39e 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -373,6 +373,9 @@ struct hw_perf_counter {
u64 sample_period;
atomic64_t period_left;
u64 interrupts;
+
+ u64 freq_count;
+ u64 freq_interrupts;
#endif
};
OpenPOWER on IntegriCloud