diff options
| author | Stephane Eranian <[email protected]> | 2013-07-04 22:30:11 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-07-05 06:54:43 +0000 |
| commit | e5302920da9ef23f9d19d4e9ac85704cc25bee7a (patch) | |
| tree | bea762940dbb32ec98e99de896ad3a6d450cc025 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf/x86/amd: Do not print an error when the device is not present (diff) | |
| download | kernel-e5302920da9ef23f9d19d4e9ac85704cc25bee7a.tar.gz kernel-e5302920da9ef23f9d19d4e9ac85704cc25bee7a.zip | |
perf: Fix interrupt handler timing harness
This patch fixes a serious bug in:
14c63f17b1fd perf: Drop sample rate when sampling is too slow
There was an misunderstanding on the API of the do_div()
macro. It returns the remainder of the division and this
was not what the function expected leading to disabling the
interrupt latency watchdog.
This patch also remove a duplicate assignment in
perf_sample_event_took().
Signed-off-by: Stephane Eranian <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/20130704223010.GA30625@quad
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
