[GIT PULL] perf/urgent for 6.1

From: Borislav Petkov
Date: Sun Oct 23 2022 - 06:15:57 EST


Hi Linus,

by popular demand, here are a couple of urgent perf fixes for 6.1.

Please pull,
thx.

---

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/perf_urgent_for_v6.1_rc2

for you to fetch changes up to 21da7472a040420f2dc624ffec70291a72c5d6a6:

bpf: Fix sample_flags for bpf_perf_event_output (2022-10-17 16:32:06 +0200)

----------------------------------------------------------------
- Fix raw data handling when perf events are used in bpf

- Rework how SIGTRAPs get delivered to events to address a bunch of
problems with it. Add a selftest for that too

----------------------------------------------------------------
Marco Elver (1):
selftests/perf_events: Add a SIGTRAP stress test with disables

Peter Zijlstra (1):
perf: Fix missing SIGTRAPs

Sumanth Korikkar (1):
bpf: Fix sample_flags for bpf_perf_event_output

include/linux/perf_event.h | 19 ++-
kernel/events/core.c | 151 +++++++++++++++------
kernel/events/ring_buffer.c | 2 +-
kernel/trace/bpf_trace.c | 2 +
.../selftests/perf_events/sigtrap_threads.c | 35 ++++-
5 files changed, 163 insertions(+), 46 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman
(HRB 36809, AG Nürnberg)