摘要: 官网 https://www.qnx.com/developers/docs/index.html Software Development Platform 7.0 User's Guide Performance Tuning Virtual Device Developer's Guide 7 阅读全文
posted @ 2024-01-13 10:03 摩斯电码 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 官网 Android Open Source Project 搭建构建环境 ubuntu18及以上:sudo apt-get install git-core gnupg flex bison build-essential zip curl zlib1g-dev libc6-dev-i386 li 阅读全文
posted @ 2023-11-11 11:38 摩斯电码 阅读(174) 评论(0) 推荐(0) 编辑
摘要: mermaid 文本描述文档图形 目前Typora支持这个工具。 https://mermaid.js.org/intro/ https://gitee.com/mirrors/mermaid#mermaid 截图 Ubuntu: Ubuntu截屏工具推荐:flameshot Windows: Fa 阅读全文
posted @ 2023-02-10 09:55 摩斯电码 阅读(156) 评论(0) 推荐(1) 编辑
摘要: Rust 参考 Rust 程序设计语言 Rust 参考手册 中文版 Rust 教程 vim插件 rust语言官网 Rust 官方文档中文教程 通过例子学 Rust 中文版 crates.io 开源项目 十大 Rust 开源项目 Rust for Linux 可重用操作系统内核技术 Go Go语言10 阅读全文
posted @ 2022-11-08 22:30 摩斯电码 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 目录重要网站eBPF大会编程eBPF 汇编ebpf-librarieslibbpf-bootstraplibbpfBCCbpftracebpftimeubpfrbpf技术专题入门man手册编译器Kfunc/FentryCO-REpaholeTail CallMAPbpftool调试网络XDPCili 阅读全文
posted @ 2022-10-20 09:52 摩斯电码 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 指令集解析 Assembler and Disassembler x86/64 x86处理器零碎知识 x64内核研究 X86汇编语言:实模式到保护模式 X64架构汇编语言和操作系统基础 x86_64汇编基础:Basics ABI x86_64 i386 Intel处理器 Intel处理器技术 AMD 阅读全文
posted @ 2022-08-14 21:26 摩斯电码 阅读(160) 评论(0) 推荐(0) 编辑
摘要: [TOC] # 硬件虚拟化 - [硬件虚拟化在不同平台的实现:X86、ARM 和 RISC-V - 王老师](https://www.bilibili.com/video/BV1Zs4y1L7KZ/?share_source=copy_web&t=0 "硬件虚拟化在不同平台的实现:X86、ARM 和 阅读全文
posted @ 2022-08-14 21:23 摩斯电码 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 技术博客 Hello 算法 二叉树 二叉树的前中后序遍历 阅读全文
posted @ 2022-08-04 18:32 摩斯电码 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 云计算 https://space.bilibili.com/14871346 极术社区:Arm服务器专栏 RAS 内存 edac-utils APEI Error INJection 服务器知识 硬件 光纤网卡、HBA卡和RAID卡的区别 记录:FC-SAN与IP-SAN比较 光纤网卡和服务器HB 阅读全文
posted @ 2022-07-31 19:40 摩斯电码 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 论文 Storage Systems topics and related papers Storage System and File System Courses Linux I/O栈 Linux内核的I/O栈大图 知乎Linux I/O专栏1 Linux 块设备之Block Layer层架构演 阅读全文
posted @ 2022-07-27 16:44 摩斯电码 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 参考 最牛B的Linux Shell命令 杂项 ssh免密登录 ssh-copy-id remote-machine 比如 ssh-copy-id pengdl@localhost -p 8765 这个命令把当前用户的公钥串写入到远程主机的~/.ssh/authorized_keys内,这样下次使用 阅读全文
posted @ 2022-07-12 14:45 摩斯电码 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 技术博客 https://blog.csdn.net/dog250 Linux操作系统学习笔记(二十二)网络通信之发包 Linux操作系统学习笔记(二十三)网络通信之收包 理解 Linux 网络栈(1):Linux 网络协议栈简单总结 Linux内核网络中数据报在协议层的处理 LINUX网络子系统中 阅读全文
posted @ 2022-06-30 17:47 摩斯电码 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/rikeyone/category_10354155.html Linux内核故障分类和排查 Linux内核中oops 错误解析以及问题定位 panic和oops的区别 内核问题分析文章 Linux中的错误码 Remote Serial Consol 阅读全文
posted @ 2022-06-12 09:24 摩斯电码 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 参考 整理一些大厂的开源平台及github,向他们看齐... 安装、引导、启动 BIOS/UEFI https://www.cnblogs.com/pengdonglin137/p/16618789.html 百敖BIOS培训系列一:UEFI启动流程总览 UEFI原理及开发视频教程 UEFI/Leg 阅读全文
posted @ 2022-05-07 09:43 摩斯电码 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 目录参考Ftrace经典用法function_graphtrace_point时间延迟标志histtrace_optionperf-toolstrace-cmd参考事件列举函数图示跟踪函数跟踪事件跟踪远程kernelsharkkprobeuprobeeBPFbpftraceplyBCCperf参考p 阅读全文
posted @ 2021-11-10 14:16 摩斯电码 阅读(2340) 评论(0) 推荐(0) 编辑
摘要: 综合 Linux 内核揭秘 Linux 内核教学 酷 壳 https://www.cnblogs.com/LoyenWang/ https://github.com/0voice/kernel_memory_management 59问:内存管理.md https://blog.csdn.net/u 阅读全文
posted @ 2021-08-22 20:43 摩斯电码 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 参考: https://makelinux.github.io/kernel/map/ https://www.cnblogs.com/xuxinkun/p/5541894.html https://www.cnblogs.com/zhengchunyuan/p/9639245.html https 阅读全文
posted @ 2020-12-30 17:32 摩斯电码 阅读(891) 评论(0) 推荐(0) 编辑
摘要: 参考: linux操作系统测试工具 几款优秀的Linux基准测试工具 Linux性能测试工具-UnixBench linux下内存性能测试工具STREAM Intel® VTune™ Profiler LTP 工具分类 工具 CPU 内存 磁盘 IO 综合 stream √ fio √ atop √ 阅读全文
posted @ 2019-11-30 21:27 摩斯电码 阅读(1070) 评论(0) 推荐(1) 编辑
摘要: 采用的Linux是Debian6,虚拟机采用VirtualBox。 用VirtualBox安装Debian的方法,可以参见我的另一篇博客http://www.cnblogs.com/pengdonglin137/p/3343135.html,这里仅补充说明一下。 1、修改VirtualBox的虚拟机 阅读全文
posted @ 2013-10-13 16:29 摩斯电码 阅读(2192) 评论(0) 推荐(3) 编辑
摘要: 文件查找 find * -name "xarina_evb_defconfig" grep "TEXT_BASE" * -nR find . ! -name "*.txt" -print 搜索除了*.txt之外的文件 find -name *.patch | xargs -i cp '{}' ./p 阅读全文
posted @ 2013-08-21 14:06 摩斯电码 阅读(1216) 评论(0) 推荐(0) 编辑
摘要: 参考 PAC和BTI机制杂谈 Android中 void OfflineUnwinder::CollectMetaInfo(std::unordered_map<std::string, std::string>* info_map __attribute__((unused))) { #if de 阅读全文
posted @ 2024-09-19 15:42 摩斯电码 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 工具栏格式乱了怎么办 https://blog.csdn.net/qq_23327993/article/details/115567723 Linux内核中有很多宏定义,sourceinsight不识别,导致解析出问题 https://blog.csdn.net/nust20/article/de 阅读全文
posted @ 2024-09-18 11:31 摩斯电码 阅读(1) 评论(0) 推荐(0) 编辑
摘要: PATCH链接 function_graph: Allow multiple users for function graph tracing 效果 如果多个用户都想使用ftrace,而且之间又不相互影响,通过/sys/kernel/debug/tracing/instances可以做到,可以在这个 阅读全文
posted @ 2024-09-18 09:53 摩斯电码 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 参考 Faster kernel testing with virtme-ng https://github.com/arighi/virtme-ng vtime:https://git.kernel.org/pub/scm/utils/kernel/virtme/virtme.git/about/ 阅读全文
posted @ 2024-09-16 11:29 摩斯电码 阅读(4) 评论(0) 推荐(0) 编辑
摘要: lunch目标 aosp_cf_x86_64_phone-userdebug 配置文件: device/google/cuttlefish/vsoc_x86_64/phone/aosp_cf.mk 阅读全文
posted @ 2024-09-15 09:22 摩斯电码 阅读(0) 评论(0) 推荐(0) 编辑
摘要: toybox 类似busybox 阅读全文
posted @ 2024-09-15 08:57 摩斯电码 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 参考 Cache Line 伪共享发现与优化 什么是伪共享?又该怎么避免伪共享的问题? 内核文档:False Sharing C2C - False Sharing Detection in Linux Perf 阅读全文
posted @ 2024-09-06 14:26 摩斯电码 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 平台 ARM64 Linux 6.10 作者 pengdonglin137@163.com 背景 最近在学习Linux的缺页异常时突然奇想,在不进行内存换出的情况下,如何让进程再次触发缺页? 基于对ARMv8的理解,它的MMU的页表项中有个AF位,当AF为0时,当访问到对应的虚拟页时,会触发缺页。 阅读全文
posted @ 2024-08-23 16:05 摩斯电码 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 参考文档 工具:WSS Working Set Size Estimation clear_refs: Soft-Dirty PTEs https://man7.org/linux/man-pages/man5/proc_pid_clear_refs.5.html Idle Page Trackin 阅读全文
posted @ 2024-08-21 14:55 摩斯电码 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 参考 Linux 6.2 Implementing Dynamic Shadow Call Stack Support For AArch64 内核补丁: arm64: dynamic shadow call stack support arm64: unwind: add asynchronous 阅读全文
posted @ 2024-08-15 14:56 摩斯电码 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 正常的vm命令输出: crash_new> vm PID: 2380 TASK: ffffff88414bddc0 CPU: 5 COMMAND: "xxx" MM PGD RSS TOTAL_VM ffffff880a997c00 ffffff8825747000 16565804k 445353 阅读全文
posted @ 2024-08-14 10:51 摩斯电码 阅读(16) 评论(0) 推荐(0) 编辑
摘要: CFI/CFG 安全防护原理详解 https://github.com/Smilencelsy/Control-Flow-Integrity 介绍:https://en.wikipedia.org/wiki/Control-flow_integrity https://hikunpeng.csdn. 阅读全文
posted @ 2024-07-12 18:58 摩斯电码 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 文档: DDI0487J_a_a-profile_architecture_reference_manual.pdf 阅读全文
posted @ 2024-06-07 15:48 摩斯电码 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 参考 https://patchwork.kernel.org/project/linux-trace-kernel/patch/20230306122549.236561-1-douglas.raillard@arm.com/#25471294 现象 I/perfetto( 3707): prob 阅读全文
posted @ 2024-05-19 00:37 摩斯电码 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 参考 https://github.com/weidongshan/cpp_projects 《C++ Primer Plus》 C++ Standards Support in GCC GCC GCC中有libstdc++库的实现 LLVM LLVM中有libc++库的实现 C++参考手册 cpl 阅读全文
posted @ 2024-05-06 10:12 摩斯电码 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 环境搭建 https://blog.csdn.net/m0_56069910/article/details/135734840 插件 qt-vsaddin各版本下载及安装方法 文档 https://doc.qt.io/qt-5/ 阅读全文
posted @ 2024-05-01 09:35 摩斯电码 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 参考 https://fedoraproject.org/wiki/C_and_C%2B%2B_v2 https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries sudo dnf inst 阅读全文
posted @ 2024-04-30 11:08 摩斯电码 阅读(16) 评论(0) 推荐(0) 编辑
摘要: http://t.csdnimg.cn/IOITj 阅读全文
posted @ 2024-04-20 09:13 摩斯电码 阅读(23) 评论(0) 推荐(0) 编辑
摘要: http://t.csdnimg.cn/AVVDy 阅读全文
posted @ 2024-04-17 15:08 摩斯电码 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/pengdonglin137/article/details/137733696 阅读全文
posted @ 2024-04-14 07:23 摩斯电码 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 查询软件包 以/bin/kill为例,可以先查询这个文件位于哪个安装包里: $ dpkg -S /bin/kill procps: /bin/kill 安装符号表 然后参考下面的方法,配置符号表仓库: https://www.cnblogs.com/pengdonglin137/articles/1 阅读全文
posted @ 2024-04-06 18:52 摩斯电码 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 参考 Ubuntu 22.04: Connect to WiFi from command line Netplan documentation Netplan CLI How to configure your computer to connect to your home Wi-Fi netw 阅读全文
posted @ 2024-04-06 10:43 摩斯电码 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 参考 https://serverfault.com/questions/1101391/disable-ubuntu-22-04s-scaning-processes-candidates-after-package-upgrades 现象 树莓派上装了ubuntu server版,每次装完软件都 阅读全文
posted @ 2024-04-06 10:08 摩斯电码 阅读(229) 评论(0) 推荐(0) 编辑
摘要: https://docs.fedoraproject.org/en-US/quick-docs/raspberry-pi/#_is_the_onboard_wi_fi_supported_on_the_raspberry_pi_3 阅读全文
posted @ 2024-04-04 10:54 摩斯电码 阅读(64) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/pengdonglin137/article/details/137460367?spm=1001.2014.3001.5501 阅读全文
posted @ 2024-03-28 10:08 摩斯电码 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 参考 https://discussion.fedoraproject.org/t/boot-nearly-full-how-to-free-space/73206 问题 我的fedora的/boot分析下面有一些老的内核,导致/boot分区可用空间不足,如何安全的清理旧的安装包呢? pengdl@ 阅读全文
posted @ 2024-03-26 11:12 摩斯电码 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 参考 Dynamic port-forwarding for NAT-ed kvm/libvirt networks Forwarding Incoming Connections 在/etc/libvirt/hooks添加qemu脚本,模板如下,需要根据自己的配置进行修改,修改完毕后,重启libv 阅读全文
posted @ 2024-03-25 20:54 摩斯电码 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 问题 在ubuntu20.04上使用virt-manager安装了一个fedora虚拟机,在创建快照时提示权限不足: Error creating snapshot: internal error: Child process (/usr/local/bin/qemu-img snapshot -c 阅读全文
posted @ 2024-03-25 19:54 摩斯电码 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 参考 https://www.raspberrypi.com/software/ https://ubuntu.com/download/raspberry-pi https://cdimage.ubuntu.com/releases/ https://cdimage.ubuntu.com/rele 阅读全文
posted @ 2024-03-25 17:21 摩斯电码 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 问题 在ubuntu上使用apt-get安装软件包,系统会自动安装依赖的软件包,但是使用dpkg在ubuntu上安装软件包时不会,有时会遇到下面的错误: pengdl@pengdl-HP:~/Soft$ sudo dpkg -i virtualbox-7.0_7.0.14-161095~Ubuntu 阅读全文
posted @ 2024-03-25 16:36 摩斯电码 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 参考 Raspberry Pi Documentation 官网提供的使用文档,可以研究一下 树莓派使用 openEuler 安装 openEuler镜像的构建 树莓派的UEFI支持和网络启动 openEuler Embedded使用与开发手册 Android KonstaKANG 如何在树莓派上安 阅读全文
posted @ 2024-03-25 14:18 摩斯电码 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 参考 Fedora Quick Docs Fedora Server Documentation Deploy an ARM64 Fedora VM on your PC: 3 steps Architectures/AArch64/Install with QEMU Virtualization 阅读全文
posted @ 2024-03-25 12:49 摩斯电码 阅读(227) 评论(0) 推荐(0) 编辑
摘要: bootloader 修改config.txt,在最后增加下面两行: enable_uart=1 #enable pl uart uart_2ndstage=1 #enable FW debug info kernel 修改cmdline.txt,去掉quiet 日志 Booting Log Rea 阅读全文
posted @ 2024-03-17 00:40 摩斯电码 阅读(311) 评论(0) 推荐(0) 编辑
摘要: 操作指南 https://blog.csdn.net/u012915636/article/details/132876601 文件下载 链接:https://pan.baidu.com/s/1kg0Zl89p0L7MFoOZFXJteg?pwd=9yl6 提取码:9yl6 Jlink下载 http 阅读全文
posted @ 2024-03-13 11:27 摩斯电码 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 测试程序 在/system/etc/init/hw/init.rc中追加下面的测试程序: 然后重启 日志 使用logcat抓取init的日志: adb wait-for-device logcat -s init 测试 依次设置test1和test2 vsoc_x86_64:/ # setprop 阅读全文
posted @ 2024-03-10 00:19 摩斯电码 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 参考 android studio platform使用体验分享 调试AOSP源码的官方神器-Android Studio for Platform(ASfP) 下载 官网: https://developer.android.google.cn/studio/platform?hl=en 注意:使 阅读全文
posted @ 2024-02-28 09:55 摩斯电码 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 参考 https://zhuanlan.zhihu.com/p/545432403?utm_id=0 软件版本 Qemu:8.0.0 Linux:6.5 GCC: 13.2.1 内核配置 参考arch/arm64/Kconfig: CONFIG_ARM64_AS_HAS_MTE: 当编译器支持mem 阅读全文
posted @ 2024-02-24 19:07 摩斯电码 阅读(183) 评论(0) 推荐(0) 编辑
摘要: https://github.com/torvalds/linux/blob/v6.5/tools/perf/design.txt Performance Counters for Linux Performance counters are special hardware registers a 阅读全文
posted @ 2024-01-28 19:20 摩斯电码 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 目录示例程序1单计数器多计数器示例程序2Configure a single counterConfigure multiple counters (no multiplexing) 示例程序1 Linux perf子系统的使用(一)——计数 刚刚入职的时候我就研究了perf_event_open( 阅读全文
posted @ 2024-01-28 19:20 摩斯电码 阅读(558) 评论(0) 推荐(0) 编辑
摘要: 目录参考内核版本作者正文初始化内核写__perf_event_outputperf_output_begin_forwardperf_output_sampleperf_output_put_handle唤醒应用应用读 参考 perf_event内核框架 tracepoint events soft 阅读全文
posted @ 2024-01-28 17:36 摩斯电码 阅读(303) 评论(0) 推荐(0) 编辑