2023年

快速移植 OpenHarmony Linux 内核到三方 ARM64 平台

官方的文档我觉得是最终的产品形态,一个新品在开发移植过程中不太可能一步到位,尤其是非官方支持版本,所以多少还是要拆分下。准备整体构建环境1 准备代码理论上path不是问题,只要找到就好。这里就把要用的三方内核,比如我的是Linux-5.4就放到Linux目录下。tj@ubuntu:~/code/oh-3.2.2/kernel/linux$ ls build config...阅读全文

初识 OpenHarmony Linux Kernel

先看技术架构:既然 OH 是多内核设计,那必然会有个抽象层(KAL)统一接口供上层使用,还多了个 HDF 驱动框架,官方的引入考虑:How to smoothly adapt device drivers to different kernels on the same hardware and minimize the workloads on driver code ...阅读全文

What Android GKI Brings to OEMs

After reading the Android documentation on General Kernel Image (GKI), i have gained an understanding of what it means for OEMs.We know every OEM could modify the Linux kernel in earlier ...阅读全文

转:EROFS pcluster 模式分析

原文链接:https://mp.weixin.qq.com/s/PQb_PwgxzyeeFZyz3FsO6wEROFS pluster 模式的用处:It's used to judge whether inplace I/O can be used due to the current status of pclusters in the chain.有四种:INFLIG...阅读全文

如何使 bpftrace:runqlat.bt 按 workqueue name 统计延迟

问题当我们想利用 ebpf 统计 task/kworker 的调度延迟,通常有两个前端选择,一是 bcc,另一个是 bpftrace。而如果要自定义,通常选择先上手 bpftrace,因为简单。bpftrace/tools 下的工具 runqlat.bt 就可以统计调度延迟,只不过输出是直方图,我们希望能够像 perf sched 那样输出 task/kworker 的调...阅读全文

如何使 perf sched 支持 workqueue name

问题workqueue name 就是 alloc_workqueue 的第一个参数:/** * alloc_workqueue - allocate a workqueue * @fmt: printf format for the name of the workqueue [...] #define alloc_workqueue(fmt, flags, max...阅读全文

最新文章

最近回复

  • tj: 我等下发邮件给你吧。
  • bbingo: 你好 我付费查看你这...
  • liujinqing: 好的 已经在gith...
  • tj: 这个不难吧,搜下就是...
  • liujinqing: 你好,能否帮忙发一下...
  • 习大大: 写的太简略了。
  • tj: 现在不搞这些了。
  • didiaoing: 有些设备即便通过90...
  • tj: android ge...
  • 冬哥: 请问谷歌的patch...

分类

归档

标签