WSL2-Linux-Kernel/kernel/events
Peter Zijlstra 8a070a5884 perf: Fix the nr_addr_filters fix
[ Upstream commit 388a1fb7da6aaa1970c7e2a7d7fcd983a87a8484 ]

Thomas reported that commit 652ffc2104ec ("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: 652ffc2104ec ("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:54:52 +01:00
..
Makefile
callchain.c
core.c perf: Fix the nr_addr_filters fix 2024-02-23 08:54:52 +01:00
hw_breakpoint.c
internal.h tracing/perf: Add interrupt_context_level() helper 2023-11-28 16:56:21 +00:00
ring_buffer.c perf/core: Add a new read format to get a number of lost samples 2023-12-13 18:36:47 +01:00
uprobes.c