diff options
| author | Namhyung Kim <[email protected]> | 2025-04-22 22:33:18 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-04-23 07:39:06 +0000 |
| commit | 0db61388b389f43c1ba2f1cee3613feb4fd12150 (patch) | |
| tree | 906335a381aa1f2f5b5408011706a9358ce796a1 /rust/helpers/helpers.c | |
| parent | Merge tag 'for-6.15-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-0db61388b389f43c1ba2f1cee3613feb4fd12150.tar.gz kernel-0db61388b389f43c1ba2f1cee3613feb4fd12150.zip | |
perf/core: Change to POLLERR for pinned events with error
Commit:
f4b07fd62d4d11d5 ("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]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
