Skip to content

perf-core-2022-05-23

Platform PMU changes:
=====================

 - x86/intel:
    - Add new Intel Alder Lake and Raptor Lake support

 - x86/amd:
    - AMD Zen4 IBS extensions support
    - Add AMD PerfMonV2 support
    - Add AMD Fam19h Branch Sampling support

Generic changes:
================

 - signal: Deliver SIGTRAP on perf event asynchronously if blocked

   Perf instrumentation can be driven via SIGTRAP, but this causes a problem
   when SIGTRAP is blocked by a task & terminate the task.

   Allow user-space to request these signals asynchronously (after they get
   unblocked) & also give the information to the signal handler when this
   happens:

     " To give user space the ability to clearly distinguish synchronous from
       asynchronous signals, introduce siginfo_t::si_perf_flags and
       TRAP_PERF_FLAG_ASYNC (opted for flags in case more binary information is
       required in future).

       The resolution to the problem is then to (a) no longer force the signal
       (avoiding the terminations), but (b) tell user space via si_perf_flags
       if the signal was synchronous or not, so that such signals can be
       handled differently (e.g. let user space decide to ignore or consider
       the data imprecise). "

 - Unify/standardize the /sys/devices/cpu/events/* output format.

 - Misc fixes & cleanups.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Assets 2
Loading