上一页 1 2 3 4 5 6 ··· 9 下一页

2023年2月8日

linux内核中根据函数指针追踪调用函数名

摘要: 2 linux内核中根据函数指针追踪调用函数名 linux内核的printks可以输出函数指针对应的函数名。 printk("func: %pF at address: %p\n", func, func); 当然,经过本人的实际实验,这个 %pF好像不能输出函数名,真正可用的是 %pS,而且%p也 阅读全文

posted @ 2023-02-08 10:24 爱新觉罗玄烨 阅读(493) 评论(0) 推荐(0) 编辑

2023年2月1日

内核doc

摘要: https://docs.kernel.org/trace/events-nmi.html 阅读全文

posted @ 2023-02-01 15:25 爱新觉罗玄烨 阅读(2) 评论(0) 推荐(0) 编辑

2023年1月11日

shell - scriptfifo

摘要: shell1: mkfifo xxfifo script -f xxfifo cmd cmd exit 主动退出 shell2: cat xxfifo 可以看到shell1的所有操作。 但是shell2感觉会卡,有延时。 阅读全文

posted @ 2023-01-11 16:22 爱新觉罗玄烨 阅读(21) 评论(0) 推荐(0) 编辑

shell - scriptreplay timing.log output.session

摘要: script -t 2> timing.log -a output.session cmd cmd cmd exit scriptreplay timing.log output.session 就会播放之前的cmd过程 如果中间不exit,就会循环播放 阅读全文

posted @ 2023-01-11 16:06 爱新觉罗玄烨 阅读(12) 评论(0) 推荐(0) 编辑

2023年1月4日

查看linux 用户

摘要: sudo cat /etc/passwd|grep -v nologin|grep -v halt|grep -v shutdown|awk -F":" '{ print $1}' | xargs sudo quota -s -u cat /etc/passwd 可以查看所有用户的列表w 可以查看当 阅读全文

posted @ 2023-01-04 11:09 爱新觉罗玄烨 阅读(42) 评论(0) 推荐(0) 编辑

2022年12月29日

grep 排除目录 grep -rn CONFIG_VE --exclude-dir={arch,drivers,net} --exclude=cscope*

摘要: grep -rn CONFIG_VE --exclude-dir={arch,drivers,net} --exclude=cscope* 阅读全文

posted @ 2022-12-29 16:06 爱新觉罗玄烨 阅读(24) 评论(0) 推荐(0) 编辑

2022年12月28日

内核格式输出符

摘要: https://blog.csdn.net/u014001096/article/details/124973535 阅读全文

posted @ 2022-12-28 10:53 爱新觉罗玄烨 阅读(9) 评论(0) 推荐(0) 编辑

2022年12月22日

do_exit

摘要: https://www.modb.pro/db/419569 阅读全文

posted @ 2022-12-22 17:29 爱新觉罗玄烨 阅读(9) 评论(0) 推荐(0) 编辑

查找大文件-清理linux磁盘

摘要: https://www.cnblogs.com/kerrycode/p/4391859.html find . -type f -size +800M -print0 | xargs -0 du -h | sort -nr 阅读全文

posted @ 2022-12-22 17:29 爱新觉罗玄烨 阅读(25) 评论(0) 推荐(0) 编辑

2022年12月14日

物理核与逻辑核-转 perf

摘要: Linux和Windows 物理CPU、物理核、逻辑核——区别、关系和查看 cat /proc/cpuinfo命令部分输出信息的含义 physical id 物理封装的处理器的idprocessor 逻辑核的idcore id 一颗处理器中的每个物理核的idcpu cores 位于相同物理封装的处理 阅读全文

posted @ 2022-12-14 16:26 爱新觉罗玄烨 阅读(214) 评论(0) 推荐(0) 编辑

2022年12月2日

16进制转字符串

摘要: https://www.bejson.com/convert/ox2str/ 阅读全文

posted @ 2022-12-02 15:59 爱新觉罗玄烨 阅读(23) 评论(0) 推荐(0) 编辑

2022年11月29日

提取可执行文件中的调试信息 objcopy --only-keep-debug app app.debug

摘要: https://blog.csdn.net/CaspianSea/article/details/17269977 set-debug-directory show-debug-directory info proc mappings add-symbol-file xxx 0x120000000+ 阅读全文

posted @ 2022-11-29 10:25 爱新觉罗玄烨 阅读(57) 评论(0) 推荐(0) 编辑

2022年11月11日

core---信号处理流程

摘要: http://just4coding.com/2021/10/31/core-dump/ 阅读全文

posted @ 2022-11-11 15:51 爱新觉罗玄烨 阅读(11) 评论(0) 推荐(0) 编辑

2022年11月4日

内核源码

摘要: https://elixir.bootlin.com/linux/latest/source 阅读全文

posted @ 2022-11-04 20:19 爱新觉罗玄烨 阅读(31) 评论(0) 推荐(0) 编辑

2022年8月23日

代码格式 linux

摘要: indent -kr -i8 -ts8 -sob -l80 -ss -bs -psl test.c 阅读全文

posted @ 2022-08-23 17:07 爱新觉罗玄烨 阅读(13) 评论(0) 推荐(0) 编辑

2022年7月1日

CPU使用率

摘要: https://blog.csdn.net/zhou961413764/article/details/107615467 阅读全文

posted @ 2022-07-01 19:31 爱新觉罗玄烨 阅读(17) 评论(0) 推荐(0) 编辑

2022年6月23日

[转]cfs 调度

摘要: https://www.cnblogs.com/LoyenWang/p/12495319.html 背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: Kernel版本: 阅读全文

posted @ 2022-06-23 14:41 爱新觉罗玄烨 阅读(162) 评论(0) 推荐(0) 编辑

2022年6月22日

源码阅读网页版woboq

摘要: https://code.woboq.org/linux/linux/tools/perf/bench/futex.h.html#futex_wait 阅读全文

posted @ 2022-06-22 11:16 爱新觉罗玄烨 阅读(75) 评论(0) 推荐(0) 编辑

glibc源码

摘要: https://code.woboq.org/userspace/glibc/sysdeps/unix/sysv/linux/lowlevellock-futex.h.html#85 阅读全文

posted @ 2022-06-22 11:14 爱新觉罗玄烨 阅读(26) 评论(0) 推荐(0) 编辑

2022年3月18日

slub分配器---2022

该文被密码保护。 阅读全文

posted @ 2022-03-18 11:51 爱新觉罗玄烨 阅读(2) 评论(0) 推荐(0) 编辑

2022年3月14日

svn 中如何checkout出单个文件

摘要: A 通过命令行操作 1、检出目录images svn co --depth=empty http://www.iusesvn.com/project1/images images_work_dir 这样就在本地形成了一个工作拷贝目录images_work_dir 阅读全文

posted @ 2022-03-14 17:23 爱新觉罗玄烨 阅读(427) 评论(0) 推荐(0) 编辑

2022年3月10日

svn 回退版本方法

该文被密码保护。 阅读全文

posted @ 2022-03-10 10:49 爱新觉罗玄烨 阅读(19) 评论(0) 推荐(0) 编辑

2022年3月3日

chmod u+s

该文被密码保护。 阅读全文

posted @ 2022-03-03 14:27 爱新觉罗玄烨 阅读(4) 评论(0) 推荐(0) 编辑

gdb调试python

该文被密码保护。 阅读全文

posted @ 2022-03-03 11:12 爱新觉罗玄烨 阅读(3) 评论(0) 推荐(0) 编辑

strace----2022 --比较好

该文被密码保护。 阅读全文

posted @ 2022-03-03 10:37 爱新觉罗玄烨 阅读(17) 评论(0) 推荐(0) 编辑

2022年3月1日

__attribute__((weak)) 用法 只在静态库中起作用

该文被密码保护。 阅读全文

posted @ 2022-03-01 16:17 爱新觉罗玄烨 阅读(15) 评论(0) 推荐(0) 编辑

__attribute__((weak)) 一些列属性

该文被密码保护。 阅读全文

posted @ 2022-03-01 15:52 爱新觉罗玄烨 阅读(5) 评论(0) 推荐(0) 编辑

pthread_atfork

该文被密码保护。 阅读全文

posted @ 2022-03-01 11:36 爱新觉罗玄烨 阅读(6) 评论(0) 推荐(0) 编辑

2022年2月28日

内核修改记录

该文被密码保护。 阅读全文

posted @ 2022-02-28 19:33 爱新觉罗玄烨 阅读(3) 评论(0) 推荐(0) 编辑

tcmalloc----全

该文被密码保护。 阅读全文

posted @ 2022-02-28 10:53 爱新觉罗玄烨 阅读(9) 评论(0) 推荐(0) 编辑

2022年2月25日

画图在线:网站卡 多等会

该文被密码保护。 阅读全文

posted @ 2022-02-25 14:41 爱新觉罗玄烨 阅读(4) 评论(0) 推荐(0) 编辑

source insight 4.0 中文乱码

该文被密码保护。 阅读全文

posted @ 2022-02-25 14:40 爱新觉罗玄烨 阅读(15) 评论(0) 推荐(0) 编辑

大页内存效果对比---ok

该文被密码保护。 阅读全文

posted @ 2022-02-25 10:11 爱新觉罗玄烨 阅读(4) 评论(0) 推荐(0) 编辑

2022年2月24日

大页内存原理--linux

该文被密码保护。 阅读全文

posted @ 2022-02-24 17:51 爱新觉罗玄烨 阅读(27) 评论(0) 推荐(0) 编辑

大页内存--mmap

该文被密码保护。 阅读全文

posted @ 2022-02-24 17:37 爱新觉罗玄烨 阅读(26) 评论(0) 推荐(0) 编辑

大页内存

该文被密码保护。 阅读全文

posted @ 2022-02-24 11:30 爱新觉罗玄烨 阅读(37) 评论(0) 推荐(0) 编辑

dpdk源码

该文被密码保护。 阅读全文

posted @ 2022-02-24 11:30 爱新觉罗玄烨 阅读(10) 评论(0) 推荐(0) 编辑

2022年2月23日

perf-v9-lb-kernel

该文被密码保护。 阅读全文

posted @ 2022-02-23 16:10 爱新觉罗玄烨 阅读(4) 评论(0) 推荐(0) 编辑

Makefile.am和makefile.in生成Makefile

该文被密码保护。 阅读全文

posted @ 2022-02-23 15:59 爱新觉罗玄烨 阅读(11) 评论(0) 推荐(0) 编辑

2022年2月21日

poll(NULL, 0, timeout) 想但与sleep 10

该文被密码保护。 阅读全文

posted @ 2022-02-21 15:16 爱新觉罗玄烨 阅读(5) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 9 下一页

导航

< 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
点击右上角即可分享
微信分享提示