diff options
author | Namhyung Kim <namhyung@kernel.org> | 2025-04-22 15:33:18 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-23 09:39:06 +0200 |
commit | 0db61388b389f43c1ba2f1cee3613feb4fd12150 (patch) | |
tree | 906335a381aa1f2f5b5408011706a9358ce796a1 /drivers/fpga/tests/fpga-mgr-test.c | |
parent | bc3372351d0c8b2726b7d4229b878342e3e6b0e8 (diff) | |
download | linux-0db61388b389f43c1ba2f1cee3613feb4fd12150.tar.gz linux-0db61388b389f43c1ba2f1cee3613feb4fd12150.tar.bz2 linux-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 <gmx@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20250422223318.180343-1-namhyung@kernel.org
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions