Skip to content

Latest commit

 

History

History
 
 

vm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

bpftime vm: userspace eBPF vm with JIT support

The bpf vm and jit for eBPF usersapce runtime.

you can choose from llvm-jit and a simple-jit/interpreter based on ubpf.

LLVM jit for eBPF

see llvm-jit/README.md

a simple jit modified from ubpf

see simple-jit/README.md

build

The JIT can be built as a standalone library and integrated into other projects.

In vm directory, run:

make build

Example Usage

See example/main.c for how to use it.

cli

A tool for loading and running eBPF programs.

$ bpftime-cli
Usage: build/vm/cli/bpftime-cli <path to ebpf instructions> [path to memory for the ebpf program]

benchmark

see github.com/eunomia-bpf/bpf-benchmark for how we evaluate and details.

Roadmap

  • AOT support for LLVM JIT