原创 安裝ARM版本的Fedora

參考 Deploy an ARM64 Fedora VM on your PC: 3 steps Virtualization – Getting Started Fedora on Raspberry Pi Architectures/

原创 樹莓派4B折騰 —— 打開啓動日誌

bootloader 修改config.txt,在最後增加下面兩行: enable_uart=1 #enable pl uart uart_2ndstage=1 #enable FW debug info kernel 修改cmdl

原创 Jlink v11 變磚恢復

操作指南 https://blog.csdn.net/u012915636/article/details/132876601 文件下載 鏈接:https://pan.baidu.com/s/1kg0Zl89p0L7MFoOZFXJteg?

原创 Android學習 —— 測試init.rc中的條件觸發的處理順序

測試程序 在/system/etc/init/hw/init.rc中追加下面的測試程序: 然後重啓 日誌 使用logcat抓取init的日誌: adb wait-for-device logcat -s init 測試 依次設置tes

原创 ASfp: Android Studio for Platform

參考 android studio platform使用體驗分享 調試AOSP源碼的官方神器-Android Studio for Platform(ASfP) 下載 官網: https://developer.android.goog

原创 ARM64上開啓MTE

參考 https://zhuanlan.zhihu.com/p/545432403?utm_id=0 軟件版本 Qemu:8.0.0 Linux:6.5 GCC: 13.2.1 內核配置 參考arch/arm64/Kconfig: C

原创 perf_event_open學習 —— mmap方式讀取

目錄示例程序2採集單個值採集多個值示例程序2示例程序3 示例程序2 Linux perf子系統的使用(二)——採樣(signal方式) 在上一篇《Linux perf子系統的使用(一)——計數》已經講解了如何使用perf_event_o

原创 perf_event_open 學習 —— 通過read的方式讀取硬件技術器

目錄示例程序1單計數器多計數器示例程序2Configure a single counterConfigure multiple counters (no multiplexing) 示例程序1 Linux perf子系統的使用(一)——

原创 perf_event_open學習 —— 緩衝區管理

目錄參考內核版本作者正文初始化內核寫__perf_event_outputperf_output_begin_forwardperf_output_sampleperf_output_put_handle喚醒應用應用讀 參考 perf_e

原创 perf_event_open學習 —— design

https://github.com/torvalds/linux/blob/v6.5/tools/perf/design.txt Performance Counters for Linux Performance counters

原创 perf_event_open 學習 —— 手冊學習

目錄參考NAMESYNOPSISDESCRIPTIONArgumentspid和cpugroup_fdflagsperf_event_attrtypesizeconfigkprobe_func, uprobe_path, kprobe_ad

原创 用eadb在Android上搭建eBPF運行環境

參考 用clang編譯Linux內核 type_id=3 vlen != 0 on 5.4 LTS kernel libbpf-tools compile with core_fixes.bpf.h include got error b

原创 CMake使用筆記

輸出編譯日誌 https://www.cnblogs.com/pengdonglin137/articles/13932025.html 優先鏈接靜態庫 https://www.cnblogs.com/coding-my-life/p

原创 內核技術 —— Data-type profiling for perf

參考 https://lwn.net/Articles/955709/ 中文翻譯:https://mp.weixin.qq.com/s/ADhYpT2z8VBlFfN21vVn8g PATCH: https://lwn.net/Arti

原创 QNX

官網 https://www.qnx.com/developers/docs/index.html Software Development Platform 7.0 7.1 8.0