update readme

This commit is contained in:
zy
2023-12-05 00:49:31 -05:00
parent d08269a9e2
commit c183233d07

View File

@@ -8,6 +8,7 @@ changelog
11.13 用户接口 cancel_all_watch -> cancel_watch, 每个进程互不干扰.
11.28 完全重构,更新文档.
12.1 一个编译问题,添加说明.
12.5 编译问题补充
```
## 说明
@@ -60,7 +61,16 @@ make && insmod source/variable_monitor.ko
编译问题:
- 找不到 `libunwind.h` 头文件
- centos系 `sudo yum install libunwind-devel.x86_64`
```shell
# centos 系 确保启用了 epel
# sudo dnf install -y epel-release
# sudo dnf makecache
sudo yum install -y libunwind-devel.x86_64
# debian 系
sudo apt-get update && apt-get install -y elfutils
sudo apt-get update && apt-get install -y libunwind8
```
### 宏定义