温暖的电波  

2023年2月16日

摘要: ebpf中event buffer的map创建流程分析 阅读全文
posted @ 2023-02-16 22:17 温暖的电波 阅读(817) 评论(0) 推荐(0) 编辑

2023年1月31日

摘要: ebpf中perf buffer的简单介绍 阅读全文
posted @ 2023-01-31 21:50 温暖的电波 阅读(1590) 评论(0) 推荐(0) 编辑

2023年1月20日

摘要: 最近遇到一个编译问题,报错如下: /usr/bin/ld: cannot find -lz /usr/bin/ld: cannot find -lc collect2: error:ld returned 1 exit status 咋一看应该是链接的时候找不到zlib和glibc,但是yum li 阅读全文
posted @ 2023-01-20 08:09 温暖的电波 阅读(14) 评论(0) 推荐(0) 编辑

2022年10月29日

摘要: /proc/sched_debug中的nr_uninterruptible原理 阅读全文
posted @ 2022-10-29 08:46 温暖的电波 阅读(159) 评论(0) 推荐(0) 编辑

2022年9月11日

摘要: 背景 在使用pip3安装了最新的drgn后执行 drgn -s vmlinux -c ./vmcore 命令后报出如下错误: drgn 0.0.20+unknown (using Python 3.6.8, elfutils 0.186, without libkdumpfile) Tracebac 阅读全文
posted @ 2022-09-11 08:53 温暖的电波 阅读(39) 评论(0) 推荐(0) 编辑

2022年2月17日

摘要: 1、reusable会在early_init_dt_reserve_memory_arch()函数中加入到memblock.reserve的region中,因而可以在/sys/kernel/debug/memblock/reserved中看到 2、no-map属性的内存在early_init_dt_ 阅读全文
posted @ 2022-02-17 22:16 温暖的电波 阅读(1226) 评论(0) 推荐(0) 编辑

2021年10月14日

摘要: 翻译自:https://github.com/iovisor/bcc/blob/master/docs/tutorial_bcc_python_developer.md bcc Python Developer Tutorial 这个教程主要目的是展示如何使用python来进行bcc工具开发和编程。 阅读全文
posted @ 2021-10-14 20:56 温暖的电波 阅读(1398) 评论(0) 推荐(0) 编辑

2021年10月10日

摘要: getdelays工具可以导出任务的调度延迟信息 阅读全文
posted @ 2021-10-10 20:53 温暖的电波 阅读(1341) 评论(0) 推荐(1) 编辑

2021年10月3日

摘要: autoreconf命令"possibly undefined macro: AC_ENABLE_SHARED"错误解决 阅读全文
posted @ 2021-10-03 10:05 温暖的电波 阅读(849) 评论(0) 推荐(0) 编辑

2021年7月24日

摘要: 1 下载内核 从 https://github.com/raspberrypi/linux/ 官网下载内核,可选择5.4,5.10等版本 2 配置编译 下载内核源码后,通过make bcm2711_defconfig生成配置文件; 然后执行make ARCH=arm64 CROSS_COMPILE= 阅读全文
posted @ 2021-07-24 07:33 温暖的电波 阅读(908) 评论(0) 推荐(0) 编辑