diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-06-05 12:01:29 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-05 12:07:48 -0400 |
commit | 6a24ed6c6082ec65d19331a4bfa30c0512a1a822 (patch) | |
tree | 0d8beed316cf34cd8e986eb2f9b230a29caa6c88 /include/linux/perf_counter.h | |
parent | 689802b2d0536e72281dc959ab9cb34fb3c304cf (diff) |
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/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 6bc250039738..4f9d39ecdc05 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -373,6 +373,9 @@ struct hw_perf_counter { | |||
373 | u64 sample_period; | 373 | u64 sample_period; |
374 | atomic64_t period_left; | 374 | atomic64_t period_left; |
375 | u64 interrupts; | 375 | u64 interrupts; |
376 | |||
377 | u64 freq_count; | ||
378 | u64 freq_interrupts; | ||
376 | #endif | 379 | #endif |
377 | }; | 380 | }; |
378 | 381 | ||