aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2023-09-19 10:51:48 +0200
committerGreg Kroah-Hartman <[email protected]>2023-10-03 14:31:15 +0200
commit5b4f9cf3cc339565be1ecd64d608b6ffdfba7c1e (patch)
tree1b17141ba639a4c716344cd2cfbaa78c0ec6e0ba /tools/perf/scripts/python
parentc2a36609dab3b7c937ab95bfb8b98e72391f772e (diff)
tty: invert return values of tty_{,un}throttle_safe()
If tty_{,un}throttle_safe() returned true on success (similar to *_trylock()), it would make the conditions in callers more obvious. So perform the switch to these inverted values (and fix the callers). Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions