会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
行木辛
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
7
8
9
10
11
12
13
14
15
···
18
下一页
2018年9月27日
定位一个进程出现超时或卡死的方法
摘要: 当定位一个进程出现超时或者卡死的问题,我们通常会怀疑是否是io超时或者其他调度问题,我们需要在这个进程出现卡死或超时,获取当时的调用栈信息,通过调用栈信息来分析可能的原因。如下为一个journald进程监控的方法: 这里主要的内容是当出现进程卡住时,获取进程的stack信息,使用gcore工具,在进
阅读全文
posted @ 2018-09-27 11:18 行木辛
阅读(6691)
评论(0)
推荐(0)
2018年9月10日
dentry path_lookat dput
摘要: https://www.ibm.com/developerworks/cn/linux/l-cn-usagecounter/index.html https://blog.csdn.net/younger_china/article/details/54707773
阅读全文
posted @ 2018-09-10 19:01 行木辛
阅读(222)
评论(0)
推荐(0)
2018年9月4日
valgrind 检查内存泄露
摘要: https://www.oschina.net/translate/valgrind-memcheck
阅读全文
posted @ 2018-09-04 15:01 行木辛
阅读(176)
评论(0)
推荐(0)
2018年8月15日
git format-patch制作内核补丁
摘要: git init git add ./ git commit 之后修改代码 修改代码后执行 git add ./ git commit 执行完成后执行git log查询commit 的id 执行git format-patch 270524169be95d2d42be778fe1ddd60e45ea
阅读全文
posted @ 2018-08-15 14:35 行木辛
阅读(611)
评论(0)
推荐(0)
2018年8月10日
定义一个内核panic问题
摘要: 出现问题时的反汇编为: /usr/src/debug/kernel-4.1.44-.aarch64/net/core/dev.c: 17800xffff800000860724 <__netif_receive_skb_core+420>: ldr x0, [x1,x0]0xffff80000086
阅读全文
posted @ 2018-08-10 18:28 行木辛
阅读(777)
评论(0)
推荐(0)
Unable to handle kernel paging request at virtual address
摘要: 1、Unable to handle kernel paging request at virtual address 00000000 》越出内核地址空间范围,原因是由于使用空NULL指针 2、Unable to handle kernel paging request at virtual ad
阅读全文
posted @ 2018-08-10 12:01 行木辛
阅读(12679)
评论(0)
推荐(1)
2018年8月9日
搞了一下午时间全浪费在这了,其实是自己拷贝了patch文件,导致tab变成了空格的错
摘要: 很老实的基于最新的kernel,源文件,修改了代码。通过diff -uNr --show-c-function dir1 dir2 > ipv6.patch制作了patch文件,准备代码上库构建kernel,为了方便,cat ipv6.patch,然后从屏幕上拷贝,再在上库的设备上vim ipv6.
阅读全文
posted @ 2018-08-09 17:54 行木辛
阅读(576)
评论(0)
推荐(0)
2018年8月8日
比较好的技术网站
摘要: http://www.brendangregg.com/ http://www.brendangregg.com/ http://www.brendangregg.com/ http://www.brendangregg.com/ https://lwn.net/https://kernelnewb
阅读全文
posted @ 2018-08-08 16:55 行木辛
阅读(221)
评论(0)
推荐(0)
2018年7月17日
uname -r查询版本不是安装的版本的问题
摘要: uname -r 查出来的版本与/lib/modules下面的内核版本不匹配。啥原因? 第一步,先strace uname -r看看这个uname -r到底从哪里获取的版本。 strace没有看出来 第二步,看uname的代码 发现这里调用了uname的系统调用,直接从内核里获取出的版本号。 后来问
阅读全文
posted @ 2018-07-17 19:23 行木辛
阅读(2709)
评论(0)
推荐(0)
2018年7月13日
python读文件指定行的数据
摘要: import linecacheprint linecache.getline('url.txt',2) 读取url.txt文件的第2行内容
阅读全文
posted @ 2018-07-13 14:48 行木辛
阅读(5452)
评论(0)
推荐(1)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
18
下一页
公告