Comments (7)
Let me take a look and get back to you next week. We plan to expand libbpf-bootstrap to have more examples across various platforms and languages (e.g., Rust-based examples), so this might be a good addition. But I need to see what and how all things are put together to make a decision.
from libbpf-bootstrap.
My opinion (feel free to ignore me): xmake looks promising and easy to use. I'll probably try it out later for a personal project. But I'm not so sure about introducing non-standard tools to a "teaching" project. The purpose of this repo is to teach people about BPF -- any new tool / technology that isn't directly related to the goal of teaching about BPF is a distraction.
from libbpf-bootstrap.
@waruqi so after discussing with @danobi some more, I think this might be a good addition to existing Makefile, as well as CMake that we are going to add. Please see #19 for discussion around re-organizing libbpf-bootstrap to allow multiple languages (C and Rust for starters) and having multiple build system integrations. So let's wait for that reorg to be completed, and then work towards merging xmake stuff in. Does this sound good to you?
from libbpf-bootstrap.
ok, thanks!
from libbpf-bootstrap.
@waruqi now that we have both C and Rust examples, as well as Makefile and CMake-based build scripts, can you take another look if you can adopt your xmake stuff to integrate nicely into this setup?
from libbpf-bootstrap.
@waruqi now that we have both C and Rust examples, as well as Makefile and CMake-based build scripts, can you take another look if you can adopt your xmake stuff to integrate nicely into this setup?
ok, I will look at it later. thanks.
from libbpf-bootstrap.
I have opened a pr to add xmake.lua for building linux/android program. #27
from libbpf-bootstrap.
Related Issues (20)
- profile program crash HOT 3
- How can I get container id from cgroup v1 with ebpf code? HOT 1
- xmake build minimal fail stddef.h:11:2: error: expected identifier false = 0, HOT 1
- Compilation fails in CentOS 7.6 HOT 3
- Retrieving argument values from newfstatat HOT 2
- Rust: How to attach a single bpf program to multiple network interfaces? HOT 3
- Make failed HOT 2
- Make error - poisoned strlcpy HOT 1
- Android xmake fails HOT 10
- add xdp synproxy in c example? HOT 2
- run fentry examples in Loongarch cpu failed HOT 2
- error: unable to create target: 'No available targets are compatible with triple "bpf"' HOT 1
- Does libbpf-bootstrap support sk_msg/stream_parser & sk_msg/stream_parser hook ?
- example uprobe no output HOT 4
- (ARM64) Rust Example Tracecon Does Not Compile HOT 2
- [Android] Failed to find valid kernel BTF HOT 19
- How to read arbitrary len bytes using helper bpf_skb_load_bytes()? HOT 2
- To compile the Rust example in libbpf-bootstrap for use on the Android platform or arm64 , what should I do? HOT 1
- when compile the Rust example in libbpf-bootstrap for target arm64 ,why build.rs use vmlinux.h is x86 ? HOT 8
- unknown func bpf_kallsyms_lookup_name#179 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libbpf-bootstrap.