ZYNQ Linux hook编程

参考链接:https://blog.csdn.net/stone8761/article/details/72821733

Vivado:2016.4

Linux:Ubuntu16.4

ZYNQ:xc7z020

 

想编译参考链接的hook编程例子,结果编译出现错误: variable `my_hook_ops' has initializer but incomplete type

想着是不是内核编译没打开某些选项,于是进入make menuconfig

 

发现Netfilter没有使能,但是驱动文件里包含了#include <linux/netfilter.h> 头文件,于是使能这个选项,编译内核后再编译驱动顺利通过。

 

1.  Linux 网络栈监控和调优

https://arthurchiao.github.io/blog/tuning-stack-rx-zh/

https://blog.packagecloud.io/eng/2016/06/22/monitoring-tuning-linux-networking-stack-receiving-data/

 

https://arthurchiao.github.io/blog/tuning-stack-tx-zh/

https://blog.packagecloud.io/eng/2017/02/06/monitoring-tuning-linux-networking-stack-sending-data

 

posted @ 2019-12-27 14:00  huakaimanlin的博客  阅读(225)  评论(0编辑  收藏  举报