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:14 +0200
committerIngo Molnar <[email protected]>2012-05-09 15:23:15 +0200
commitfc006cf7cc7471e1bdf34e40111971e03622af6c (patch)
tree02845a28bbbddb255d3e2c09b281d7f1f1213563 /tools/perf/util/scripting-engines/trace-event-python.c
parent98112d2e957e0d348f06d8a40f2f720204a70b55 (diff)
perf/x86-ibs: Trigger overflow if remaining period is too small
There are cases where the remaining period is smaller than the minimal possible value. In this case the counter is restarted with the minimal period. This is of no use as the interrupt handler will trigger immediately again and most likely hits itself. This biases the results. So, if the remaining period is within the min range, we better do not restart the counter and instead trigger the overflow. 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