linux-stable/kernel/events
Peter Zijlstra ad2bd6cd17 perf: Fix the nr_addr_filters fix
[ Upstream commit 388a1fb7da ]

Thomas reported that commit 652ffc2104 ("perf/core: Fix narrow
startup race when creating the perf nr_addr_filters sysfs file") made
the entire attribute group vanish, instead of only the nr_addr_filters
attribute.

Additionally a stray return.

Insufficient coffee was involved with both writing and merging the
patch.

Fixes: 652ffc2104 ("perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file")
Reported-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Link: https://lkml.kernel.org/r/20231122100756.GP8262@noisy.programming.kicks-ass.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:25:03 +01:00
..
callchain.c
core.c perf: Fix the nr_addr_filters fix 2024-02-23 08:25:03 +01:00
hw_breakpoint.c
internal.h perf: Fix get_recursion_context() 2020-11-18 19:20:28 +01:00
Makefile
ring_buffer.c perf/core: Add a new read format to get a number of lost samples 2023-12-13 18:18:15 +01:00
uprobes.c treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00