diff options
author | 2009-10-09 10:12:41 +0200 | |
---|---|---|
committer | 2009-10-09 15:56:44 +0200 | |
commit | 3365e7798760dc6c190a9bbb0945a38f02625438 (patch) | |
tree | c3c1b49dcf4c2fcbddf1af27c281c9a7a55219ad /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev (diff) | |
download | wireguard-linux-3365e7798760dc6c190a9bbb0945a38f02625438.tar.xz wireguard-linux-3365e7798760dc6c190a9bbb0945a38f02625438.zip |
lockdep: Use cpu_clock() for lockstat
Some tracepoint magic (TRACE_EVENT(lock_acquired)) relies on
the fact that lock hold times are positive and uses div64 on
that. That triggered a build warning on MIPS, and probably
causes bad output in certain circumstances as well.
Make it truly positive.
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1254818502.21044.112.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions