summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-05-09 01:48:23 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2019-05-09 01:48:23 +0300
commita08b51a9a0f3664bd0d7a18982a35e3f75adc308 (patch)
treeaf8990c1da63858038c75f90f0224132c89d459d /tools/perf/scripts/python/check-perf-trace.py
parent1f2c999bbca31c1f0bbbe69a75f3489f60cce05d (diff)
downloadlinux-a08b51a9a0f3664bd0d7a18982a35e3f75adc308.tar.xz
habanalabs: change polling functions to macros
This patch changes two polling functions to macros, in order to make their API the same as the standard readl_poll_timeout so we would be able to define the "condition for exit" when calling these macros. This will simplify the code as it will eliminate the need to check both for timeout and for the (cond) in the calling function. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions