Porting bpftime to MacOS
- Mentors
- Yusheng
- Organization
- eunomia-bpf
- Technologies
- c, c++, cmake, macos
- Topics
- cloud, observability, eBPF
Since bpftime can run in userspace and does not require kernel eBPF, why not enable eBPF on MacOS/FreeBSD/Other Platforms?
The goal of this project is to port bpftime to macOS and other platforms, expanding its cross-platform capabilities and enabling macOS users to leverage the powerful features of eBPF in their development and production environments. With bpftime, now you may be able to run bcc and bpftrace tools on macOS and other OSs!
Objectives for enable eBPF on macOS
Compatibility and Integration: Achieve compatibility of bpftime with macOS and/or other OSs, ensuring that core features and capabilities are functional on this platform.
Performance Optimization: Fine-tune the performance of bpftime on macOS and/or other OSs, focusing on optimizing the LLVM JIT and the lightweight JIT for x86 specifically for macOS architecture.
Seamless Integration with macOS Ecosystem: Ensure that bpftime integrates smoothly with macOS and/or other OSs environments, providing a native and efficient development experience for eBPF users.
Documentation and Tutorials: Develop documentation and tutorials tailored to macOS users, facilitating easy adoption and use of bpftime on this platform.
Expected Outcomes
A functional port of bpftime for macOS and/or other OSs, with core features operational.
You should be able to run bpftrace and bcc tools on them, and get expected output.
documentation and guides for using bpftime on macOS and/or other OSs.