02 2023 档案

摘要:https://blog.csdn.net/u010217055/article/details/128957497 https://www.cnblogs.com/god-of-death/p/8017414.html 阅读全文
posted @ 2023-02-27 13:52 墨尔基阿德斯 阅读(422) 评论(0) 推荐(0) 编辑
摘要:求指针ptr所在的结构体实例的首地址, #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) #define container_of(ptr, type, member) ({ \ const typeof( ((type * 阅读全文
posted @ 2023-02-27 11:47 墨尔基阿德斯 阅读(219) 评论(0) 推荐(0) 编辑
摘要:https://github.com/kehengzhong/adif 阅读全文
posted @ 2023-02-25 19:59 墨尔基阿德斯 阅读(14) 评论(0) 推荐(0) 编辑
摘要:转自:https://zhuanlan.zhihu.com/p/26599934 红黑树(Red-Black Tree,RBT)是一种平衡的二叉查找树,前面的红黑树原理与实现这篇文章中详细介绍了红黑树的细节。在Linux的内核源代码中已经给我们实现了一棵红黑树,我们可以方便地拿过来进行使用。本文将参 阅读全文
posted @ 2023-02-25 19:55 墨尔基阿德斯 阅读(67) 评论(0) 推荐(0) 编辑
摘要:转自:https://www.cnblogs.com/hellokitty2/p/15362596.html 另外可参考:https://zhuanlan.zhihu.com/p/26599934 一、学习笔记 1. rbtree 简介 rbtree,全称是 Red-Black Tree,又称为“红 阅读全文
posted @ 2023-02-25 10:38 墨尔基阿德斯 阅读(32) 评论(0) 推荐(0) 编辑
摘要:转自:https://www.cnblogs.com/hellokitty2/p/15362630.html 1. 什么是红黑树,它们有什么用? 红黑树是一种自平衡二叉搜索树,用于存储可排序的 键/值 数据对。 这不同于 基数树(用于有效地存储稀疏数组,因此使用长整数索引来插入/访问/删除节点)和哈 阅读全文
posted @ 2023-02-25 10:32 墨尔基阿德斯 阅读(87) 评论(0) 推荐(0) 编辑
摘要:0,虚拟机安装: 推荐安装ubuntu 20。ubuntu 22与VMware不兼容,存在无法与主机之间复制粘贴文件的问题。 1.虚拟机镜像下载,下载tdesktop版本: 中科大站点:Index of /ubuntu-releases/ 公司内网:http://mirrors.hikvision. 阅读全文
posted @ 2023-02-23 17:07 墨尔基阿德斯 阅读(2237) 评论(0) 推荐(0) 编辑
摘要:1、基本原理 板端运行gdbservice,linux编译服务器(要求Ubuntu16及以上版本)端运行gdb,windowsPC安装vscode通过ssh远程访问编译服务器上的代码,gdbserver与gdb通过网络通讯进行调试,如下图所示: 2、工具: 2.1、编译gdb和gdbservice工 阅读全文
posted @ 2023-02-22 09:56 墨尔基阿德斯 阅读(2195) 评论(0) 推荐(0) 编辑
摘要:1、源码下载: gdb源码下载地址 以gdb-10.2版本为例,(版本体积一大一小交替出现,小版本疑似存在问题) 解压:tar zxvf gdb-10.2.tar.gz 2、编译gdb(运行在主机端) 方法1(推荐) 创建文件夹_build并进入 mkdir _build cd _build 配置、 阅读全文
posted @ 2023-02-21 20:21 墨尔基阿德斯 阅读(1101) 评论(0) 推荐(0) 编辑
摘要:转自:https://blog.csdn.net/zhaoyun_zzz/article/details/82466031#gcc%E9%93%BE%E6%8E%A5%E9%80%89%E9%A1%B9ldflags%E5%8F%82%E6%95%B0 GCC编译选项CFLAGS参数 GCC链接选项 阅读全文
posted @ 2023-02-21 09:36 墨尔基阿德斯 阅读(815) 评论(0) 推荐(0) 编辑
摘要:Linux下解压命令、压缩命令大全,详细教程-腾讯云开发者社区-腾讯云 (tencent.com) linux下unzip解压报错“symlink error: File name too long“ Linux下解压命令、压缩命令大全,详细教程-腾讯云开发者社区-腾讯云 (tencent.com) 阅读全文
posted @ 2023-02-16 14:21 墨尔基阿德斯 阅读(3459) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/yeholmes/article/details/121070799 https://blog.csdn.net/sydyh43/article/details/119488005 阅读全文
posted @ 2023-02-15 09:48 墨尔基阿德斯 阅读(14) 评论(0) 推荐(0) 编辑
摘要:Flame Graph项目位于GitHub上:https://github.com/brendangregg/FlameGraph 用git将其clone下来:git clone https://github.com/brendangregg/FlameGraph.git 如果是想使用火焰图展示系统 阅读全文
posted @ 2023-02-14 20:09 墨尔基阿德斯 阅读(266) 评论(0) 推荐(0) 编辑
摘要:。。 $ tar zxf readline-5.2.tar.gz $ cd readline-5.2/ $ ./configure --host=arm-linux --prefix=$(pwd)/_install $ make $ make install 中 ./configure --host 阅读全文
posted @ 2023-02-12 11:14 墨尔基阿德斯 阅读(79) 评论(0) 推荐(0) 编辑
摘要:参数值与编译链相关 https://gaomf.cn/2016/06/15/GCC%E4%B8%AD-march%E3%80%81-mtune%E3%80%81-mcpu%E4%B8%89%E4%B8%AA%E5%8F%82%E6%95%B0%E7%9A%84%E8%AE%BE%E7%BD%AE/ 阅读全文
posted @ 2023-02-03 19:20 墨尔基阿德斯 阅读(393) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示