kernel_samsung_a53x/kernel/events
Peter Zijlstra 608f98b94e perf: Fix perf_event_validate_size()
[ Upstream commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b ]

Budimir noted that perf_event_validate_size() only checks the size of
the newly added event, even though the sizes of all existing events
can also change due to not all events having the same read_format.

When we attach the new event, perf_group_attach(), we do re-compute
the size for all events.

Fixes: a723968c0ed3 ("perf: Fix u16 overflows")
Reported-by: Budimir Markovic <markovicbudimir@gmail.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:11:45 +01:00
..
callchain.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.c perf: Fix perf_event_validate_size() 2024-11-18 12:11:45 +01:00
hw_breakpoint.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
internal.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ring_buffer.c perf/core: Add a new read format to get a number of lost samples 2024-11-18 12:11:45 +01:00
uprobes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00