Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training

    Featured resources

    • Open Source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Using eBPF in Red Hat products

eBPF integration in Red Hat products: A high-level overview

May 6, 2026
Toke Høiland-Jørgensen Viktor Malik
Related topics:
Application development and deliveryLinux
Related products:
Red Hat Enterprise Linux

    eBPF (formerly known as extended Berkeley Packet Filter) has become a foundational technology in the Linux kernel, which is getting a lot of traction. At Red Hat, we have been supportive of eBPF since its introduction and have adopted the technology throughout our portfolio.. With eBPF continually evolving with new capabilities and spanning more and more domains, this article provides a high-level overview of the way eBPF is integrated in Red Hat products, and outlines the options available to you for creating your own eBPF-powered solutions.

    Red Hat's adoption of eBPF

    Red Hat first introduced the technology to Red Hat Enterprise Linux 7 (RHEL) as a technology preview. We regularly contribute to various eBPF-related upstream projects, including the Linux kernel eBPF subsystem, bpftrace, and xdp-tools.

    Since then, we have actively supported eBPF in RHEL, prioritising backports of the full upstream feature set for the newest RHEL releases. Today, this means that in the latest major release of RHEL, the eBPF subsystem is regularly synchronized with its upstream counterpart, ensuring users benefit from the latest features and improvements. For preceding releases, such as RHEL 9, critical fixes and security updates are consistently backported from upstream to maintain stability and reliability.

    Besides providing an up-to-date eBPF infrastructure as an integral part of the platform (RHEL) and the layered products based upon it (such as Red Hat OpenShift), several Red Hat products use eBPF as the underlying technology. Among these, the most important are:

    • Red Hat OpenShift uses eBPF in its network observability operator (GitHub repository) and ingress node firewall operator (GitHub repository).
    • The advanced cluster security operator relies on eBPF for collecting runtime cluster information.
    • The bpfman manager is now available as a developer preview in Red Hat OpenShift since version 4.16.
    • The Kepler Project for measuring energy consumption of cluster components, whose development is led by Red Hat, uses eBPF to collect the necessary data.
    • The Performance Co-Pilot toolkit features plug-ins for using eBPF to collect system performance metrics (see Monitoring eBPF-based metrics for more details).
    • The systemd init system and the NetworkManager daemon used in RHEL both use eBPF to implement firewall and network filtering capabilities.

    A note on RHEL kernel version numbers

    As mentioned above, the eBPF subsystem in RHEL kernels is regularly synchronized with its upstream counterpart. However, the RHEL kernel does not follow upstream versioning. Instead, its version number is fixed at the first release of a RHEL major version (for example, 6.12.0 for RHEL 10) and only the release number (for example, -123) is gradually increased afterwards. This means that it's not obvious from the version number which eBPF features are supported in a particular RHEL version.

    To help with this, the exact corresponding upstream version along with the list of the most significant features can be found in the release notes of each minor RHEL release (for example, see RHEL 9.6 Release Notes).

    eBPF tools available in RHEL

    We include a number of libraries and tools for writing eBPF programs in Red Hat Enterprise Linux. The most important ones are:

    • libbpf: The canonical C library that provides many abstractions for writing eBPF programs and a stable API for their management. Because libbpf is developed as part of the kernel source tree, it always contains the latest and most up-to-date features.
    • bpftrace: A high-level tracing language allowing to write short scripts, which are then transformed into eBPF applications. Mostly focused on system tracing and observability. Thanks to its simplicity, it is often the first choice when entering the eBPF world.
    • BPF compiler collection (BCC): A framework for writing eBPF programs in Python and Lua. BCC comes with a large set of tools ready for immediate use.
    • xdp-tools: A collection of utilities and libraries for developing networking eBPF programs using express data path (XDP).

    Further reading

    For more in-depth information on eBPF as a technology, you can visit eBPF.io and the Linux kernel documentation on eBPF. For more information on how to write eBPF applications, read eBPF application development: Beyond the basics and Using eBPF to attribute packet drops to netfilter rules. For detailed technical documentation of eBPF, refer to eBPF docs.

    What's next?

    As mentioned in the beginning, this article is just the beginning. In future articles, we'll describe various eBPF tools and projects, as well as concrete examples of how to use eBPF in Red Hat systems.

    Related Posts

    • Using eBPF to attribute packet drops to netfilter rules

    • Packet capture using Network Observability eBPF Agent

    • Network observability with eBPF on single node OpenShift

    • eBPF application development: Beyond the basics

    • Get started with XDP

    Recent Posts

    • Red Hat UBI 8 builders have been promoted to the Paketo Buildpacks organization

    • Using eBPF in Red Hat products

    • How we made one data layer serve the UI, the mocks, and the E2E tests

    • Build trusted Python containers with Project Hummingbird and Calunga

    • Simplify distributed tracing: ObservabilityInstaller installation

    What’s up next?

    Share graphics_Intermediate Linux Commands

    Intermediate Linux commands cheat sheet

    Alex Soto Bueno and Bob Reselman
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility