News › performance

Kernel 7.2 to Allow BPF Programs on Multiple Tracepoints

By Zayden R., July 23, 2026

The upcoming Linux 7.2 kernel will allow BPF programs to attach to multiple tracepoints, a significant enhancement for debugging and performance monitoring. This feature, spearheaded by Jiri Olsa, promises to streamline system analysis.

In a notable development for those who rely on Linux for system diagnostics and performance tuning, the upcoming 7.2 kernel will introduce the ability to attach BPF (Berkeley Packet Filter) programs to multiple tracepoints simultaneously. This advancement, driven by the efforts of Jiri Olsa, marks a significant step forward in how engineers can utilize tracepoints for debugging and monitoring.

Traditionally, BPF programs were restricted to a single tracepoint, limiting their effectiveness in complex scenarios where multiple points of interest needed simultaneous observation. By enabling multiple tracepoint attachments, the new kernel version will allow for more comprehensive and efficient analysis of system behavior. This feature is particularly relevant for sysadmins and developers who need to perform detailed performance measurements and active monitoring across various subsystems.

The change was discussed at the 2026 Linux Storage, Filesystem, Memory-Management, and BPF Summit, highlighting its importance within the community. Since then, the feature has been merged into the mainline kernel and is slated for inclusion in version 7.2. This is a solid improvement, making it easier for engineers to deploy and manage BPF programs without the need for workarounds or multiple script iterations.

For those unfamiliar, tracepoints in the Linux kernel serve as hooks that allow developers to insert custom code, like BPF programs, to gather data on kernel events. With this new capability, engineers can expect improved flexibility and depth in their monitoring and debugging processes.

Sources

Courses