aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRobert Richter <[email protected]>2012-04-02 20:19:10 +0200
committerIngo Molnar <[email protected]>2012-05-09 15:23:13 +0200
commit6accb9cf76080422d400a641d9068b6b2a2c216f (patch)
tree3774a7b43cb513761924209f5d51b1a497fcd3d2 /tools/perf/util/scripting-engines/trace-event-python.c
parent7bf352384fda3f678a283928c6c5b2cd9da877e4 (diff)
perf/x86-ibs: Fix frequency profiling
Fixing profiling at a fixed frequency, in this case the freq value and sample period was setup incorrectly. Since sampling periods are adjusted we also allow periods that have lower 4 bits set. Another fix is the setup of the hw counter: If we modify hwc->sample_period, we also need to update hwc->last_period and hwc->period_left. Signed-off-by: Robert Richter <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions