eunomia-bpf / bpftime

Userspace eBPF runtime for fast Uprobe & Syscall hook & Extensions with LLVM JIT
https://eunomia.dev/bpftime/
MIT License
693 stars 68 forks source link

[FEATURE] Test with kernel eBPF test. #210

Open yunwei37 opened 5 months ago

yunwei37 commented 5 months ago

Is your feature request related to a problem? Please describe.

The unit test for bpftime is insufficient now. can we test bpftime with kernel eBPF test, since it's compatible with kernel eBPF?

Describe the solution you'd like

use https://elixir.bootlin.com/linux/latest/source/tools/testing/selftests/bpf for test. build a ci and test them in it.

Describe alternatives you've considered

Provide usage examples

Additional context

Zheaoli commented 5 months ago

I think this could be included in a nightly CI