/ntohl.jpg

NTOHL

grub更新失败的一个问题

今天在折腾kvm网卡(PCI)直通时,pci detach失败,报错: error: Operation not supported: neither VFIO nor KVM device assignment is currently supported on this system 遂检查 VT-d(BIOS开启),IOMM

使用google-perftools进行C/C++性能分析

安装libunwind wget https://github.com/libunwind/libunwind/releases/download/v1.3.0/libunwind-1.3.0.tar.gz --no-check-certificate tar -xvf libunwind-1.3.0.tar.gz cd libunwind-1.3.0 ./configure make & make install 安装perftool git clone https://github.com/gperftools/gperftools cd gperftools/ sh autogen.sh ./configure make & make install ln -s /usr/local/lib/libprofiler.so.0 /usr/lib64/libprofiler.so.0 (64位机,32位目录在/usr/lib