上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: insmod code.ko code: version magic '3.18.0 linux4sam_4.7 YD 5D34 V6 g622a003 mod_unload ARMv7 p2v8 ’ should be '3.18.0 linux4sam_4.7 YD 5D34 V6 gfb5b4 阅读全文
posted @ 2020-01-15 11:39 linengier 阅读(4099) 评论(0) 推荐(0) 编辑
摘要: 在Linux Kernel中某些特定含义的函数命令有自己的规律,比如这里将简单的介绍一下函数名前双下划线__和devm_xxx函数的意思。 函数名称前的双下划线__ 标记需要加锁: 在内核中,有很多函数,有的是需要调用者自己加锁保护的,有些是不需要加锁保护的。对于这些场景,linux kernel采 阅读全文
posted @ 2020-01-15 11:13 linengier 阅读(1025) 评论(0) 推荐(0) 编辑
摘要: "1. 正则表达式的基本流程" "2. 正则表达式语法规则" "3. 正则表达式的使用"   "3.1基本使用"   "3.2分组"   "3.3断言" "4.IP匹配" "5. grep 命令中使用正则"   "grep基本用法"   "grep 阅读全文
posted @ 2019-12-28 18:40 linengier 阅读(874) 评论(0) 推荐(0) 编辑
摘要: 本文在host上编写了一个简单XDP程序,在xdp中返回XDP_DROP,即丢掉所有的数据包。 用clang编译为.o文件。使用ip link命令加载到guest的网卡中。 在guset上使用ping guest主机上网卡,测试xdp程序的丢包功能。 实验环境 host:ubuntu18.04 gu 阅读全文
posted @ 2019-12-03 15:48 linengier 阅读(1335) 评论(0) 推荐(0) 编辑
摘要: 问题 1. 安装包未安装 2. 编译问题 1. 文件未找到 解决 Check if you have and if type.h is in asm generic I copied asm generic and rename to asm. And It works. fatal error: 阅读全文
posted @ 2019-12-01 21:17 linengier 阅读(1220) 评论(0) 推荐(1) 编辑
摘要: 问题 1. AttributeError: 'BPF' object has no attribute 'get_syscall_fnname' 解决: 阅读全文
posted @ 2019-11-28 11:49 linengier 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 目的 使用qemu搭建一个arm开发平台的内核调试环境,支持程序运行和内核模块的挂载。 所有脚本和配置文件 "git地址" 构建过程 1.搭建交叉编译工具 交叉编译工具使用arm linux gnueabi,如果有多个版本使用update alternative工具进行多个版本的控制。 安装arm的 阅读全文
posted @ 2019-11-23 12:01 linengier 阅读(923) 评论(0) 推荐(0) 编辑
摘要: Computing the cross correlation function is useful for finding the time delay offset between two time series. Python has the numpy.correlate function. 阅读全文
posted @ 2019-07-07 15:49 linengier 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 系统的架构是整个系统的全貌,我们要了解的是系统包含的各个模块以及每个模块的指责和各个部分的相互关系。flink的架构如下图所示: 如图所示:flink系统包含三部分:client, jobmanager,taskmanager。 1. client 程序中编写使用的每个算子(map, flatmap 阅读全文
posted @ 2019-06-30 09:28 linengier 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 1. net_cls 主要是和tc配合使用。 The net_cls subsystem tags network that allows the Linux traffic controller (tc) to originating from a particular cgroup. The t 阅读全文
posted @ 2019-06-29 08:55 linengier 阅读(197) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页