fix the parameters (#21)

* fix some pages not found in the README.md

* fix some command parameters not right in Readme.md
This commit is contained in:
TenT
2023-04-07 11:02:24 +08:00
committed by GitHub
parent 70cdab3416
commit fcad798022
5 changed files with 5 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ int handle_tp(void *ctx)
要编译和运行这段程序,可以使用 ecc 工具和 ecli 命令。首先使用 ecc 编译程序:
```console
$ ecc hello.bpf.c
$ ecc minimal.bpf.c
Compiling bpf object...
Packing ebpf object and config into package.json...
```

View File

@@ -155,7 +155,7 @@ int handle_exit(struct trace_event_raw_sched_process_template* ctx)
编译运行上述代码:
```console
$ ecc bootstrap.bpf.c
$ ecc bootstrap.bpf.c bootstrap.h
Compiling bpf object...
Packing ebpf object and config into package.json...
$ sudo ecli run package.json

View File

@@ -40,7 +40,7 @@ eunomia-bpf 是一个结合 Wasm 的开源 eBPF 动态加载运行时和开发
编译运行上述代码:
```console
$ ecc fentry-link.bpf.c
$ ecc opensnoop.bpf.c
Compiling bpf object...
Packing ebpf object and config into package.json...
$ sudo ecli run package.json

View File

@@ -86,7 +86,7 @@ eunomia-bpf 是一个结合 Wasm 的开源 eBPF 动态加载运行时和开发
编译运行上述代码:
```console
$ ecc bashreadline.bpf.c bashreadline.h
$ ecc bashreadline.bpf.c
Compiling bpf object...
Packing ebpf object and config into package.json...
$ sudo ecli run package.json

View File

@@ -102,7 +102,7 @@ docker run -it -v `pwd`/:/src/ yunwei37/ebpm:latest
或者
```console
$ ecc sigsnoop.bpf.c sigsnoop.h
$ ecc sigsnoop.bpf.c
Compiling bpf object...
Generating export types...
Packing ebpf object and config into package.json...