Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'perf-urgent-2021-11-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull perf fix from Thomas Gleixner:
"A single fix for perf to prevent it from sending SIGTRAP to another
task from a trace point event as it's not possible to deliver a
synchronous signal to a different task from there"

* tag 'perf-urgent-2021-11-28' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
perf: Ignore sigtrap for tracepoints destined for other tasks

+3
+3
kernel/events/core.c
··· 9759 9759 continue; 9760 9760 if (event->attr.config != entry->type) 9761 9761 continue; 9762 + /* Cannot deliver synchronous signal to other task. */ 9763 + if (event->attr.sigtrap) 9764 + continue; 9762 9765 if (perf_tp_event_match(event, &data, regs)) 9763 9766 perf_swevent_event(event, count, &data, regs); 9764 9767 }