Install ecli and ecc
- Install the ecli tool for running eBPF program from the cloud:
-
Install the
eclitool for running eBPF program from the cloud:$ wget https://aka.pw/bpf-ecli -O ecli && chmod +x ./ecli $ ./ecli -h ecli subcommands, including run, push, pull Usage: ecli [COMMAND_LINE]... [COMMAND] .... -
Install the
ecccompiler-toolchain for compiling eBPF kernel code to aconfigfile orWasmmodule(clang,llvm, andlibclangshould be installed for compiling):$ wget https://github.com/eunomia-bpf/eunomia-bpf/releases/latest/download/ecc && chmod +x ./ecc $ ./ecc -h eunomia-bpf compiler Usage: ecc [OPTIONS] <SOURCE_PATH> [EXPORT_EVENT_HEADER] ....or use the docker image for compile:
# for x86_64 and aarch64 docker run -it -v `pwd`/:/src/ ghcr.io/eunomia-bpf/ecc-`uname -m`:latest # compile with docker. `pwd` should contains *.bpf.c files and *.h files. -
build the compiler, runtime library and tools:
see build for building details.
继续阅读
返回索引
eunomia-bpf:简化并增强eBPF,支持CO-RE[^1]和WebAssembly[^2]
  ![DeepSource](https://deepsource.io/gh/eunomia-bpf/eunomia-bpf/?ref=reposi
上一篇 / 上一页
build from source
If you want to run the cli, in most cases, you don't need to build your own.
下一篇 / 下一页
supporting-external-BTF
``conf CONFIGDEBUGINFO=y CONFIGDEBUGINFOBTF=y ``
- 最后更新
- 2026年3月8日
- 首次发布
- 2025年2月10日
- 贡献者
- 云微, weekendfish
这个页面有帮助吗?