perf: Fix perf_event_validate_size()
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: a723968c ("perf: Fix u16 overflows") Reported-by: Budimir Markovic <markovicbudimir@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
parent
2cc14f52
-
mentioned in commit ece08572
-
mentioned in commit f5d6ab01
-
mentioned in commit 208dd116
-
mentioned in commit 8bd3d616
-
mentioned in commit ebc7597c
-
mentioned in commit 00f8c6dc
-
mentioned in commit 152f51d1
-
mentioned in commit 84ca356e
-
mentioned in commit 06dec254
-
mentioned in commit cfe9295d
-
mentioned in commit 7e2c1e4b
-
mentioned in commit 46f67782
-
mentioned in commit 7ccfc078
-
mentioned in commit 7b427d8c
-
mentioned in commit 40490221
-
mentioned in commit 557f7ad0
-
mentioned in commit 545d55a3
Please register or sign in to comment