1、安装
1.1 源码安装
1)源码下载
最新版本:https://github.com/gperftools/gperftools
稳定版本:https://github.com/gperftools/gperftools/releases
2)编译
./configure
make -j8
3)安装,默认安装在/usr/local/lib目录下
sudo make install
1.2 命令安装
以Ubuntu为例
sudo apt install google-perftools
sudo apt install libgoogle-per