eBPF Programs Can Attach To KProbes In Linux 4.1

Written by Michael Larabel in Linux Kernel on 15 April 2015 at 09:16 AM EDT. Add A Comment
LINUX KERNEL
The (e)BPF in-kernel virtual machine that's been extended to do more than just packet filtering is becoming more useful with the Linux 4.1 development kernel.

Ingo Molnar sent in the perf subsystem updates for Linux 4.1 on Tuesday and one of the biggest changes is the ability to attach eBPF programs to KProbes. This means that there's support for user-defined, sandboxed instrumentation running on a live kernel that at the same time can't cause the kernel any harm.

Other perf changes for Linux 4.1 is per-event clockid support, cluster-wide profiling, JIT profiling events, x86 Intel Processor Trace support, x86 Intel Cache QoS Monitoring support, and x86 Intel Haswell LBR call stack support. The x86 Intel Processor Trace support sounds interesting and is just available on Broadwell processors and newer.

More details on the perf feature updates via Ingo's pull request.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week