summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2022-07-29 09:17:12 +0300
committerJakub Kicinski <kuba@kernel.org>2022-07-30 06:12:49 +0300
commit0f14a8351abd7d734ae617da05faa0008cd35927 (patch)
tree0760912fb0cd8aea34be75938200fb85a6dff0eb /tools/perf/scripts/python/export-to-postgresql.py
parentff4970b130e74af4f2fe5bc6a7a963bc977cae1a (diff)
downloadlinux-0f14a8351abd7d734ae617da05faa0008cd35927.tar.xz
dn_route: replace "jiffies-now>0" with "jiffies!=now"
Use "jiffies != now" to replace "jiffies - now > 0" to make code more readable. We want to put a limit on how long the loop can run for before rescheduling. Signed-off-by: Yu Zhe <yuzhe@nfschina.com> Link: https://lore.kernel.org/r/20220729061712.22666-1-yuzhe@nfschina.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions