A big patch series sent out this weekend for the Linux kernel's perf subsystem removes the embedded Python and Perl scripting in favor of standalone Python scripts with a new Python perf module. This perf module for Python written in C is much faster than the status quo...

A big patch series sent out this weekend for the Linux kernel's perf subsystem removes the embedded Python and Perl scripting in favor of standalone Python scripts with a new Python perf module. This perf module for Python written in C is much faster than the status quo.
Google engineer Ian Rogers has carried out the overhaul of the perf script command to address its high overhead, complex build dependencies, and other design challenges by creating a proper perf module for Python. With this perf Python C extension module there is much faster performance such as a Python script previously taking 3.7 seconds to now just 0.1 seconds with a standalone Python script and using the new perf module.
The set of 49 patches sent out on Saturday transition the Python perf code to using the new perf module as well as dropping the old libpython-based code and legacy Python scripts. It's a ~21k lines of code overhaul for improving the Linux perf scripting process. Gemini 3.1 Pro assisted Rogers with this overhaul.
Those making use of Linux perf with Python scripting can learn more about this fundamental change currently under review on the mailing list via this patch series.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Linux 7.3 SMP Improvement To Help Reduce Latency, Improve Real-Time Performance | 0 | 10.19 | 17-08-2026 |
| 2 | IOmap Improvement For Linux 7.3 Takes EXT4 & XFS Performance Further | 0 | 13.69 | 18-08-2026 |
| 3 | Up To 12.8x Improvement Observed For gup_test With New Linux MM Patches | 0 | 8.9 | 11-08-2026 |
| 4 | AMD P-State Linux Driver Patches Can Boost 1%-Low FPS Gaming Performance By 31% | 0 | 15.98 | 28-07-2026 |
| 5 | Linux 7.3 To Better Handle Cluster Load Balancing On Intel Hybrid CPUs | 0 | 8.96 | 08-08-2026 |
| 6 | AMD Sends Out Latest Linux Patches For RMPOPT Optimization | 0 | 7 | 01-07-2026 |
| 7 | Linux Kernel Developers Again Discussing AI Agent Attribution - Potentially Dropping It | 0 | 7 | 02-07-2026 |
| 8 | Linux 7.3 TPM Makes Cleanup Preparations For TrenchBoot | 0 | 13.97 | 28-08-2026 |
| 9 | F2FS With Now Handle Multi-Device Flushes In Parallel With Linux 7.3 | 0 | 14.2 | 29-08-2026 |
| 10 | Google's "Painful To Maintain" Binder C Linux Driver Being Removed In Favor Of Rust | 0 | 6.31 | 18-09-2026 |