aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-02-13 08:22:36 +1100
committerGreg Kroah-Hartman <[email protected]>2018-02-16 15:19:10 +0100
commiteb7e1f3a3b051723b1e0ec51d59568c7650a545b (patch)
treec92883f346d789cbdc8c46d65ceb52f8427e4e1a /tools/perf/scripts/python/export-to-sqlite.py
parent98b092804497c53ed694257dacd08f0ecc133bc9 (diff)
staging: lustre: introduce and use l_wait_event_abortable()
lustre sometimes wants to wait for an event, but abort if one of a specific list of signals arrives. This is a little bit like wait_event_killable(), except that the signals are identified a different way. So introduce l_wait_event_abortable() which provides this functionality. Having separate functions for separate needs is more in line with the pattern set by include/linux/wait.h, than having a single function which tries to include all possible needs. Also introduce l_wait_event_abortable_exclusive(). Note that l_wait_event() return -EINTR on a signal, while Linux wait_event functions return -ERESTARTSYS. l_wait_event_{abortable_,}exclusive follow the Linux pattern. Reviewed-by: James Simmons <[email protected]> Signed-off-by: NeilBrown <[email protected]> Reviewed-by: Patrick Farrell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions