diff options
| author | Peter Zijlstra <[email protected]> | 2009-05-23 18:28:55 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-05-23 19:37:44 +0200 |
| commit | e220d2dcb944c5c488b6855d15ec66d76900514f (patch) | |
| tree | bbaa8ead4276d59d6d73d49a28fd6e1e1ed3259a /include/linux | |
| parent | c6eb13847ba081552d2af644219bddeff7110caf (diff) | |
perf_counter: Fix dynamic irq_period logging
We call perf_adjust_freq() from perf_counter_task_tick() which
is is called under the rq->lock causing lock recursion.
However, it's no longer required to be called under the
rq->lock, so remove it from under it.
Also, fix up some related comments.
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: John Kacur <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/perf_counter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 2eedae8498d3..23ddd29730f8 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h @@ -260,6 +260,7 @@ enum perf_event_type { /* * struct { * struct perf_event_header header; + * u64 time; * u64 irq_period; * }; */ |