diff options
author | Soheil Hassas Yeganeh <[email protected]> | 2020-12-18 14:02:03 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-12-19 11:18:38 -0800 |
commit | 00b27634bc471e0198f93d48694171121af2e159 (patch) | |
tree | ea67bbb4f3ff5eff143c79603990dd7d6338f0a8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e8c85328b1e88f4ee7f84a1fdbff2f2c7965e026 (diff) |
epoll: replace gotos with a proper loop
The existing loop is pointless, and the labels make it really hard to
follow the structure.
Replace that control structure with a simple loop that returns when there
are new events, there is a signal, or the thread has timed out.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Soheil Hassas Yeganeh <[email protected]>
Suggested-by: Linus Torvalds <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Reviewed-by: Khazhismel Kumykov <[email protected]>
Cc: Guantao Liu <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions