aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDavidlohr Bueso <[email protected]>2016-12-14 15:06:46 -0800
committerLinus Torvalds <[email protected]>2016-12-14 16:04:08 -0800
commitb5fa01a22e4ba9e3ca6de7cb94c3d21e42da449c (patch)
tree2fcea15a5c609e51abf25e6cff6e1630627ed068 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentf150f02cfbc7b6b980e260856555abd73235a6b0 (diff)
ipc/sem: simplify wait-wake loop
Instead of using the reverse goto, we can simplify the flow and make it more language natural by just doing do-while instead. One would hope this is the standard way (or obviously just with a while bucle) that we do wait/wakeup handling in the kernel. The exact same logic is kept, just more indented. [[email protected]: coding-style fixes] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Davidlohr Bueso <[email protected]> Cc: Manfred Spraul <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions