diff options
author | Mike Galbraith <[email protected]> | 2009-10-12 07:56:03 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-12 09:10:55 +0200 |
commit | 7e4ff9e3e8f88de8a8536f43294cd32b4e7d9123 (patch) | |
tree | 4033b2ab865ce039f0287059c520be8703a08d42 /scripts/basic/docproc.c | |
parent | fe9081cc9bdabb0be953a39ad977cea14e35bce5 (diff) |
perf tools: Fix counter sample frequency breakage
Commit 42e59d7d19dc4b4 switched to a default sample frequency of
1KHz, which overrides any user supplied count, causing sched, top
and timechart to miss events due to their discrete events
being flagged PERF_SAMPLE_PERIOD.
Override default sample frequency when the user profides a
period count, and make both record and top honor that user
supplied option.
Signed-off-by: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arjan van de Ven <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions