文章分类 -  eBPF

摘要:需要安装auditd程序 sudo apt install auditd 阅读全文
posted @ 2022-11-05 17:34 cn风 阅读(151) 评论(0) 推荐(0)
摘要:1、编写简单的xdp程序 #include <linux/bpf.h> #ifndef __section # define __section(NAME) \ __attribute__((section(NAME), used)) #endif __section("prog") int xdp 阅读全文
posted @ 2022-09-23 19:26 cn风 阅读(417) 评论(0) 推荐(0)
摘要:本周在公司内网的arm64机器上ubuntu 18.04.5的版本上使能bpf功能,参考大州哥的文档,咨询宋老师和Salil之后,最终在公司内网把bpf功能在kunpeng服务器上使能起来了;运行hello-world的效果如下: 把遇到的情况大概总结一下; 1)编译本地ubuntu的内核包编译,替 阅读全文
posted @ 2021-03-08 08:55 cn风 阅读(993) 评论(0) 推荐(0)