Commit 0db6138
perf/core: Change to POLLERR for pinned events with error
Commit:
f4b07fd ("perf/core: Use POLLHUP for pinned events in error")
started to emit POLLHUP for pinned events in an error state.
But the POLLHUP is also used to signal events that the attached task is
terminated. To distinguish pinned per-task events in the error state
it would need to check if the task is live.
Change it to POLLERR to make it clear.
Suggested-by: Gabriel Marin <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent bc33723 commit 0db6138
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3943 | 3943 | | |
3944 | 3944 | | |
3945 | 3945 | | |
3946 | | - | |
| 3946 | + | |
3947 | 3947 | | |
3948 | 3948 | | |
3949 | 3949 | | |
| |||
6075 | 6075 | | |
6076 | 6076 | | |
6077 | 6077 | | |
6078 | | - | |
| 6078 | + | |
6079 | 6079 | | |
6080 | 6080 | | |
6081 | 6081 | | |
| |||
0 commit comments