Ahead of the Linux 7.0 merge window closing later today with the Linux 7.0-rc1 release, the performance “perf” subsystem tooling changes were merged on Saturday. Among the notable changes here are the performance events and metrics handling for upcoming AMD Zen 6 processors.
This now-merged code for Linux 7.0 adds support for AMD Zen 6 events and metrics. This includes the vendor event handling for Zen 6 core events, uncore events, metrics, and mapping changes. There is also a fix for Zen 5 MAC allocation events too. These patches follow AMD having published the new performance monitor counters for Zen 6, a.k.a. AMD Family 1Ah Model 50h-57h Processors.
These AMD Zen 6 perf events cover items like performance counters around branch prediction, L1 and L2 cache activity, TLB activity, uncore events like UMC command activity, and more. Useful for developers and administrators profiling with Linux’s “perf” functionality on upcoming Zen 6 platforms but not too exciting on its own with just being another routine pre-launch enablement work.
The perf tool code for Linux 7.0 also introduces a new perf sched stats tool for record/report/diff workflows using scheduler statistic “schedstat” counters, data type profiling fixes and improvements, other vendor event handling improvements, and other fixes. The full list of perf tool changes merged for Linux 7.0 can be found via this pull.
