Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
syxl-time authored Jan 17, 2025
1 parent 89f6396 commit a164260
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eBPF_Supermarket/Memory_Subsystem/mem_watcher/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ else
BZS_APPS :=
```
再次执行make,发现报错为 "vmlinux.h file not find",如下:
![alt text](/docs/image/16.png)
![alt text](../docs/image/16.png)

执行以下命令,生成vmlinux.h文件
```
Expand Down Expand Up @@ -129,15 +129,15 @@ registry = "git://crates.rustcc.cn/crates.io-index"
```
重新安装还是会报错:

![alt text](/docs/image/17.png)
![alt text](../docs/image/17.png)

`~/.cargo/config` 文件中添加以下内容,即可解决:
```
[net]
git-fetch-with-cli = true
```
再次make编译完成,生成二进制文件 mem_watcher,并能正常运行。
![alt text](/docs/image/18.png)
![alt text](../docs/image/18.png)

# 工具的使用方法说明

Expand Down

0 comments on commit a164260

Please sign in to comment.