android_kernel_motorola_sm6375/kernel/events
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tao Chen fc50ed312c perf/ring_buffer: Allow the EPOLLRDNORM flag for poll
[ Upstream commit c96fff391c095c11dc87dab35be72dee7d217cde ]

The poll man page says POLLRDNORM is equivalent to POLLIN. For poll(),
it seems that if user sets pollfd with POLLRDNORM in userspace, perf_poll
will not return until timeout even if perf_output_wakeup called,
whereas POLLIN returns.

Fixes: 76369139ce ("perf: Split up buffer handling from core code")
Signed-off-by: Tao Chen <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sasha Levin <[email protected]>
2025-04-10 14:29:40 +02:00
..
callchain.c
core.c perf/core: Fix low freq setting via IOC_PERIOD 2025-03-13 12:43:25 +01:00
hw_breakpoint.c
internal.h perf: Fix perf_aux_size() for greater-than 32-bit size 2024-08-19 05:33:29 +02:00
Makefile
ring_buffer.c perf/ring_buffer: Allow the EPOLLRDNORM flag for poll 2025-04-10 14:29:40 +02:00
uprobes.c uprobes: fix kernel info leak via "[uprobes]" vma 2024-11-08 16:20:42 +01:00