aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.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
commitd7ce88fbb5dbc2263eb3a6a0c9888c17d65ffa97 (patch)
treebb2e40c04401cb9008f95873b9f2ede15b196ad1 /tools/perf/scripts/python/event_analyzing_sample.py
parenteb7e1f3a3b051723b1e0ec51d59568c7650a545b (diff)
staging: lustre: simplify l_wait_event when intr handler but no timeout.
If l_wait_event() is given a function to be called on a signal, but no timeout or timeout handler, then the intr function is simply called at the end if the wait was aborted by a signal. So a simpler way to write the code (in the one place this case is used) it to open-code the body of the function after the wait_event, if -ERESTARTSYS was returned. 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions