diff options
author | Stephane Eranian <eranian@google.com> | 2013-07-05 00:30:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-11 12:03:27 -0700 |
commit | a4a108e8d7fba75a2dbfbe0818a3a4dec79d6d57 (patch) | |
tree | 1534c7881409c6c106a70d7c0d4ccc62bc35f461 /crypto/lzo.c | |
parent | 3cd49fd7da79541a1e87bfa5750f5a939c6626df (diff) | |
download | lwn-a4a108e8d7fba75a2dbfbe0818a3a4dec79d6d57.tar.gz lwn-a4a108e8d7fba75a2dbfbe0818a3a4dec79d6d57.zip |
perf: Fix interrupt handler timing harness
commit e5302920da9ef23f9d19d4e9ac85704cc25bee7a upstream.
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 <eranian@google.com>
Cc: peterz@infradead.org
Cc: dave.hansen@linux.intel.com
Cc: ak@linux.intel.com
Cc: jolsa@redhat.com
Link: http://lkml.kernel.org/r/20130704223010.GA30625@quad
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/lzo.c')
0 files changed, 0 insertions, 0 deletions