随笔分类 -  Linux内核学习、开发

GCC内置宏
摘要:打印GCC预定义宏 https://blog.csdn.net/zoomdy/article/details/79361163 gcc 预定义宏(x86-64)https://blog.csdn.net/alan00000/article/details/47175063?spm=1001.2101 阅读全文

posted @ 2023-07-03 10:27 lh03061238 阅读(74) 评论(0) 推荐(0) 编辑

ELF查看工具使用-GNU Binary Utilities
摘要:ELF可执行文件分析工具binutil. ld - the GNU linker.as - the GNU assembler.addr2line - Converts addresses into filenames and line numbers.ar - A utility for crea 阅读全文

posted @ 2023-03-18 15:47 lh03061238 阅读(147) 评论(0) 推荐(0) 编辑

elf文件的gnu_debuglink的使用
摘要:先看:https://www.cnblogs.com/lh03061238/p/16269154.html参考:https://rwkbp.makekb.com//?View=entry&EntryID=1470&Msg=objcopy --only-keep-debug hello hello.g 阅读全文

posted @ 2023-03-17 10:45 lh03061238 阅读(154) 评论(0) 推荐(0) 编辑

c++调用.so库
摘要:参考: https://blog.csdn.net/weixin_45024226/article/details/120156687 https://blog.csdn.net/weixin_40437821/article/details/110671132 阅读全文

posted @ 2023-03-17 10:42 lh03061238 阅读(96) 评论(0) 推荐(0) 编辑

cmake的编译安装
摘要:参考: https://zhuanlan.zhihu.com/p/477157242 阅读全文

posted @ 2023-03-14 10:23 lh03061238 阅读(63) 评论(0) 推荐(0) 编辑

Linux SIGINT
摘要:https://blog.csdn.net/m0_65731372/article/details/127269651 https://blog.csdn.net/a379039233/article/details/80715365 https://blog.csdn.net/cunjiu9486 阅读全文

posted @ 2023-02-21 17:43 lh03061238 阅读(12) 评论(0) 推荐(0) 编辑

内核rcu_sched detected stalls on CPUs/tasks问题
摘要:linux RCU https://zhuanlan.zhihu.com/p/570218921 [RCU stall] RCU stall 分析,RCU stall 内核文档翻译 https://www.cnblogs.com/smilingsusu/p/14500091.html Linux内核 阅读全文

posted @ 2023-02-08 10:14 lh03061238 阅读(3324) 评论(0) 推荐(0) 编辑

ftrace中的Max Stack Tracer和Function_Profiler
摘要:(1) Max Stack Tracer 的使用这个 tracer 记录内核函数的堆栈使用情况,需要使能CONFIG_STACK_TRACER,用户可以使用如下命令打开该 tracer: # echo 1 > /proc/sys/kernel/stack_tracer_enabled从此,ftrac 阅读全文

posted @ 2023-02-01 17:59 lh03061238 阅读(146) 评论(0) 推荐(0) 编辑

kprobe相关原理及使用
摘要:内核调测工具kprobe之实践篇 https://mp.weixin.qq.com/s?__biz=MzIxMjE1MzU4OA==&mid=2648922724&idx=1&sn=d8f8f90f572ead35f925936d67f99cf4&chksm=8f5d9fffb82a16e90978 阅读全文

posted @ 2023-01-16 08:59 lh03061238 阅读(137) 评论(0) 推荐(0) 编辑

内核打印信息查看
摘要:1、dmesg 2、sudo cat /var/log/messages (Some messages may be suppressed if syslogd is configured to eliminate duplicate messages) 阅读全文

posted @ 2023-01-14 15:47 lh03061238 阅读(95) 评论(0) 推荐(0) 编辑

Ftrace相关原理及使用
摘要:ftrace相关文章 https://recomm.cnblogs.com/blogpost/4163995?page=1 Ftrace https://www.bookstack.cn/read/tinyclub-elinux/dbg_portal-kernel_trace_and_profile 阅读全文

posted @ 2023-01-13 17:40 lh03061238 阅读(184) 评论(0) 推荐(0) 编辑

系统调用
摘要:奔路吧linux内核-系统调用 https://blog.csdn.net/u010481276/article/details/117626868#:~:text=__SYSCALL%20%E5%AE%8F%E7%94%A8%E6%9D%A5%E5%B0%86%E6%9F%90%E4%B8%AA% 阅读全文

posted @ 2022-12-03 11:26 lh03061238 阅读(284) 评论(0) 推荐(0) 编辑

centos升级gcc
摘要:1、 sudo yum install centos-release-sclsudo yum search devtoolset | grep gccsudo yum install devtoolset-11-gcc*sudo source /opt/rh/devtoolset-11/enable 阅读全文

posted @ 2022-11-02 10:57 lh03061238 阅读(164) 评论(0) 推荐(0) 编辑

linux下”is not in the sudoers file“问题的解决办法
摘要:https://blog.csdn.net/summy_J/article/details/72846076?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCo 阅读全文

posted @ 2022-10-24 09:23 lh03061238 阅读(39) 评论(0) 推荐(0) 编辑

linux中的dup系统调用
摘要:http://t.zoukankan.com/pengdonglin137-p-3286627.html https://blog.csdn.net/weixin_45672178/article/details/109588099 阅读全文

posted @ 2022-10-08 14:14 lh03061238 阅读(26) 评论(0) 推荐(0) 编辑

查看linux系统版本
摘要:参考: https://blog.csdn.net/majianting/article/details/122694130 https://blog.csdn.net/GSWWJM/article/details/119727346?spm=1001.2101.3001.6650.2&utm_me 阅读全文

posted @ 2022-09-23 15:19 lh03061238 阅读(32) 评论(0) 推荐(0) 编辑

make dist
摘要:https://blog.csdn.net/cj2580/article/details/76492447 阅读全文

posted @ 2022-09-21 15:56 lh03061238 阅读(23) 评论(0) 推荐(0) 编辑

make install后如何卸载
摘要:https://dandelioncloud.cn/article/details/1482289758683594753 https://blog.csdn.net/reasonyuanrobot/article/details/106732047 阅读全文

posted @ 2022-09-20 11:35 lh03061238 阅读(73) 评论(0) 推荐(0) 编辑

Linux系统调用权威指南(转)
摘要:[译] Linux 系统调用权威指南(2016) https://arthurchiao.art/blog/system-call-definitive-guide-zh/ 阅读全文

posted @ 2022-09-05 14:40 lh03061238 阅读(37) 评论(0) 推荐(0) 编辑

linux进程状态(转)
摘要:参考: Linux系统之进程状态 http://t.zoukankan.com/littlecharacter-p-12154588.html Linux进程相关知识学习整理 http://blog.itpub.net/29487349/viewspace-2749436/ Linux进程状态:R 阅读全文

posted @ 2022-07-26 15:33 lh03061238 阅读(188) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示