bpftime
Userspace eBPF runtime for Observability, Network, GPU & General Extensions Framework
Explore the handler_manager.hpp file, the central object registry in bpftime. Learn how it manages eBPF objects across processes using shared memory and file descriptors.
Understanding the Base Attach Implementation Interface in bpftimeDiscover the base attach implementation interface in bpftime defined in base_attach_impl.hpp. Learn how abstract classes ensure consistent attach type inheritance for better BPF program management.
VM Interface Definition in bpftime: Header Location and API ReferenceLocate the bpftime VM interface definition in ebpf-vm.h to manage eBPF program creation, configuration, and execution across pluggable backends. Find the API reference here.
bpftime Runtime API Header File: Complete Guide to `bpftime.hpp`Explore bpftime.hpp the primary runtime API header file for bpftime. Access shared-memory management program loading and attachment contexts with this essential guide.
How to Run bpftime Unit Tests: Complete Guide for DevelopersLearn how to run bpftime unit tests with our comprehensive guide. Execute the Catch2 test suite covering runtime, daemon, and verifier components. Follow simple build and test commands for instant verification.
How to Enable LLVM JIT Support When Building bpftime: A Complete GuideEnable LLVM JIT support in bpftime by setting the CMake flag -DBPFTIME_LLVM_JIT=ON. Discover how to activate the default eBPF execution engine for high performance.
Key Configuration Options for Building bpftime: A Complete CMake GuideDiscover bpftime's key CMake configuration options for JIT, kernel integration, GPU support, and static linking. Customize your build for debugging or production with simple flags.
How to Add New Event Sources to bpftime: A Complete Developer's GuideLearn how to add new event sources to bpftime with this developer's guide. Implement base_attach_impl, define identifiers, create private data, and register with bpf_attach_ctx for seamless integration.
bpftime Compatibility with Existing eBPF Toolchains: A Complete Guide to Clang and libbpf IntegrationDiscover bpftime compatibility with existing eBPF toolchains. Run clang and libbpf compiled programs unchanged in userspace with this drop-in companion.
Performance Benefits of Using bpftime: 10× Faster eBPF Execution ExplainedDiscover how bpftime achieves 10× faster eBPF execution by bypassing the kernel, using a JIT AOT compiler, and zero-copy shared-memory. Explore the performance benefits today.
How bpftime Implements Interprocess eBPF Maps Using Shared MemoryDiscover how bpftime utilizes shared memory for interprocess eBPF maps, enabling zero-copy access across processes for efficient communication without kernel intervention.
How the Handler Pattern Works in bpftime: Shared-Memory Object ManagementDiscover how the handler pattern in bpftime uses type-safe shared memory to manage BPF maps, programs, and links across processes. Learn about zero-copy access and automatic lifecycle management.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →