aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-02-20 13:23:37 +1100
committerGreg Kroah-Hartman <[email protected]>2018-02-22 15:03:23 +0100
commit84e07b9d0ac8728b1865b23498d746861a8ab4c2 (patch)
tree64f69d4be6a220cf4584e1be50e1e3639d58b3b7 /tools/perf/scripts/python/event_analyzing_sample.py
parent99c1ffc99a570c68cef906d9763edb47b316ea1a (diff)
staging: lustre: improve API and implementation of blocking signals.
According to comment for set_current_blocked() in kernel/signal.c, changing ->blocked directly is wrong. sigprocmask() should be called instead. So change cfs_block_sigsinv() and cfs_restore_sigs() to use sigprocmask(). For consistency, change them to pass the sigset_t by reference rather than by value. Also fix cfs_block_sigsinv() so that it correctly blocks signals above 32 on a 32bit host. Signed-off-by: NeilBrown <[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