aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2010-05-06 04:55:22 +0200
committerFrederic Weisbecker <[email protected]>2010-05-09 13:45:29 +0200
commit5efe08cf685f33f562566dc68b6077b6f6a4f706 (patch)
treeae792d0ba092caed622825a39fec84eb6c67174c /tools/perf/scripts/python/check-perf-trace.py
parent84c7a21791eb2e962a27e19bab5b77d5d9e13a34 (diff)
perf: Fix perf lock bad rate
Fix the cast made to get the bad rate. It is made in the result instead of the operands. We need the operands to be cast in double, otherwise the result will always be zero. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Hitoshi Mitake <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions