diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-04-23 14:45:54 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-04-25 20:24:26 -0300 |
commit | 8daef508b0a144970e5cbc587525c351663fec63 (patch) | |
tree | 773b5cef7313bd0f3f0c47bbf034b3b28c5ac979 /tools/perf/bench/futex-lock-pi.c | |
parent | 3b556bced46aa6b1873da7faa18eff235e896adc (diff) |
perf tests: Replace assignment with comparison on assert check
The current assert check is checking an assignment, which will always be
true. Instead, the assert should be checking if scale is equal to 0.122
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1461419154-16918-1-git-send-email-colin.king@canonical.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench/futex-lock-pi.c')
0 files changed, 0 insertions, 0 deletions