使用Valgrind检测DPDK内存泄漏
直接用valgrind检测使用dpdk库的程序可能会报错
如:
ERROR: This system does not support "RDRAND". Please check that RTE_MACHINE is set correctly.
解决办法:
- 禁用CPUd RDRAND
修改mk/rte.cpuflags.mk, 注释掉CPUFLAGS += RDRAND,重新编译库即可
直接用valgrind检测使用dpdk库的程序可能会报错
如:
ERROR: This system does not support "RDRAND". Please check that RTE_MACHINE is set correctly.
解决办法: