aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMarco Ballesio <[email protected]>2021-03-15 18:16:29 -0700
committerGreg Kroah-Hartman <[email protected]>2021-03-24 08:26:31 +0100
commit95c16f9d9cf9db090ae16179f1f721284a6f3aef (patch)
treecbdd51a6ee5a39bd2f2474414c7dcc4b3a975446 /tools/perf/scripts/python/stackcollapse.py
parent432ff1e91694e4c55a5bf6bc0574f4c254970232 (diff)
binder: use EINTR for interrupted wait for work
when interrupted by a signal, binder_wait_for_work currently returns -ERESTARTSYS. This error code isn't propagated to user space, but a way to handle interruption due to signals must be provided to code using this API. Replace this instance of -ERESTARTSYS with -EINTR, which is propagated to user space. binder_wait_for_work Signed-off-by: Marco Ballesio <[email protected]> Signed-off-by: Li Li <[email protected]> Test: built, booted, interrupted a worker thread within Acked-by: Todd Kjos <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions