上一页 1 2 3 4 5 6 ··· 41 下一页
摘要: lunch目标 aosp_cf_x86_64_phone-userdebug 配置文件: device/google/cuttlefish/vsoc_x86_64/phone/aosp_cf.mk 阅读全文
posted @ 2024-09-15 09:22 dolinux 阅读(116) 评论(0) 推荐(0)
摘要: toybox 类似busybox 阅读全文
posted @ 2024-09-15 08:57 dolinux 阅读(30) 评论(0) 推荐(0)
摘要: 参考 Cache Line 伪共享发现与优化 什么是伪共享?又该怎么避免伪共享的问题? 内核文档:False Sharing C2C - False Sharing Detection in Linux Perf 阅读全文
posted @ 2024-09-06 14:26 dolinux 阅读(53) 评论(0) 推荐(0)
摘要: 平台 ARM64 Linux 6.10 作者 pengdonglin137@163.com 背景 最近在学习Linux的缺页异常时突然奇想,在不进行内存换出的情况下,如何让进程再次触发缺页? 基于对ARMv8的理解,它的MMU的页表项中有个AF位,当AF为0时,当访问到对应的虚拟页时,会触发缺页。 阅读全文
posted @ 2024-08-23 16:05 dolinux 阅读(253) 评论(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 dolinux 阅读(68) 评论(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 dolinux 阅读(52) 评论(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 dolinux 阅读(53) 评论(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 dolinux 阅读(580) 评论(0) 推荐(0)
摘要: 文档: DDI0487J_a_a-profile_architecture_reference_manual.pdf 阅读全文
posted @ 2024-06-07 15:48 dolinux 阅读(67) 评论(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 dolinux 阅读(272) 评论(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 dolinux 阅读(94) 评论(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 dolinux 阅读(43) 评论(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 dolinux 阅读(60) 评论(0) 推荐(0)
摘要: http://t.csdnimg.cn/IOITj 阅读全文
posted @ 2024-04-20 09:13 dolinux 阅读(34) 评论(0) 推荐(0)
摘要: Android系统学习 —— 替换crash_dump文件 阅读全文
posted @ 2024-04-17 15:08 dolinux 阅读(58) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/pengdonglin137/article/details/137733696 阅读全文
posted @ 2024-04-14 07:23 dolinux 阅读(34) 评论(0) 推荐(0)
摘要: 查询软件包 以/bin/kill为例,可以先查询这个文件位于哪个安装包里: $ dpkg -S /bin/kill procps: /bin/kill 安装符号表 然后参考下面的方法,配置符号表仓库: https://www.cnblogs.com/pengdonglin137/articles/1 阅读全文
posted @ 2024-04-06 18:52 dolinux 阅读(113) 评论(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 dolinux 阅读(529) 评论(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 dolinux 阅读(633) 评论(0) 推荐(1)
摘要: 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 dolinux 阅读(125) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/pengdonglin137/article/details/137460367?spm=1001.2014.3001.5501 阅读全文
posted @ 2024-03-28 10:08 dolinux 阅读(54) 评论(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 dolinux 阅读(113) 评论(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 dolinux 阅读(825) 评论(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 dolinux 阅读(304) 评论(0) 推荐(0)
摘要: 参考 https://www.raspberrypi.com/software/ https://www.raspberrypi.com/software/operating-systems/ https://ubuntu.com/download/raspberry-pi https://cdim 阅读全文
posted @ 2024-03-25 17:21 dolinux 阅读(285) 评论(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 dolinux 阅读(2005) 评论(0) 推荐(0)
摘要: 参考 Raspberry Pi Documentation 官网提供的使用文档,可以研究一下 树莓派使用 openEuler 安装 openEuler镜像的构建 树莓派的UEFI支持和网络启动 openEuler Embedded使用与开发手册 Android KonstaKANG 如何在树莓派上安 阅读全文
posted @ 2024-03-25 14:18 dolinux 阅读(114) 评论(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 dolinux 阅读(538) 评论(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 dolinux 阅读(634) 评论(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 dolinux 阅读(830) 评论(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 dolinux 阅读(123) 评论(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 dolinux 阅读(905) 评论(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 dolinux 阅读(446) 评论(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 dolinux 阅读(271) 评论(0) 推荐(0)
摘要: 目录示例程序1单计数器多计数器示例程序2Configure a single counterConfigure multiple counters (no multiplexing) 示例程序1 Linux perf子系统的使用(一)——计数 刚刚入职的时候我就研究了perf_event_open( 阅读全文
posted @ 2024-01-28 19:20 dolinux 阅读(1758) 评论(0) 推荐(0)
摘要: 目录参考内核版本作者正文初始化内核写__perf_event_outputperf_output_begin_forwardperf_output_sampleperf_output_put_handle唤醒应用应用读 参考 perf_event内核框架 tracepoint events soft 阅读全文
posted @ 2024-01-28 17:36 dolinux 阅读(782) 评论(0) 推荐(0)
摘要: 目录示例程序2采集单个值采集多个值示例程序2示例程序3 示例程序2 Linux perf子系统的使用(二)——采样(signal方式) 在上一篇《Linux perf子系统的使用(一)——计数》已经讲解了如何使用perf_event_open、read和ioctl对perf子系统进行编程。但有时我们 阅读全文
posted @ 2024-01-28 17:12 dolinux 阅读(1364) 评论(0) 推荐(0)
摘要: 目录参考NAMESYNOPSISDESCRIPTIONArgumentspid和cpugroup_fdflagsperf_event_attrtypesizeconfigkprobe_func, uprobe_path, kprobe_addr, and probe_offsetsample_per 阅读全文
posted @ 2024-01-27 20:23 dolinux 阅读(213) 评论(0) 推荐(0)
摘要: 参考 用clang编译Linux内核 type_id=3 vlen != 0 on 5.4 LTS kernel libbpf-tools compile with core_fixes.bpf.h include got error bpf_btf_info has no member named 阅读全文
posted @ 2024-01-17 16:44 dolinux 阅读(901) 评论(0) 推荐(2)
摘要: 输出编译日志 https://www.cnblogs.com/pengdonglin137/articles/13932025.html 优先链接静态库 https://www.cnblogs.com/coding-my-life/p/14018972.html 阅读全文
posted @ 2024-01-16 14:41 dolinux 阅读(42) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 41 下一页