上一页 1 2 3 4 5 6 7 ··· 28 下一页
摘要: linux-tools 包含了一系列性能分析工具和调试工具,用于监视和分析 Linux 系统的性能、内核活动以及其他性能相关信息。具体包含的工具可能因不同的 Linux 发行版和版本而有所不同。以下是一些常见的工具,可能包含在 linux-tools 或相关的包中: perf:perf 工具集,包括 阅读全文
posted @ 2023-10-20 15:56 feipeng8848 阅读(1607) 评论(0) 推荐(0)
摘要: git format-patch $ git format-patch HEAD^ #生成最近的1次commit的patch $ git format-patch HEAD^^ #生成最近的2次commit的patch $ git format-patch HEAD^^^ #生成最近的3次commi 阅读全文
posted @ 2023-09-23 11:54 feipeng8848 阅读(98) 评论(0) 推荐(0)
摘要: CMakeLists.txt: add_definitions(-DSYSMONITER_VER="${VER}") c++代码: void displayVersion(){ #ifdef SYSMONITER_VER std::cout << SYSMONITER_VER << std::end 阅读全文
posted @ 2023-09-22 18:10 feipeng8848 阅读(31) 评论(0) 推荐(0)
摘要: boost文件结构 编译后得到的文件分布一般是这种情况 # kun @ Mac in ~/libs/boost_1_79_0 [20:23:14] $ ll total 808 drwxr-xr-x@ 26 kun staff 832B 1 17 2023 . drwxr-xr-x 6 kun st 阅读全文
posted @ 2023-09-13 20:26 feipeng8848 阅读(38) 评论(0) 推荐(0)
摘要: //打开linux的core dumped ulimit -c unlimited //ubuntu需要手动设置下生成路径 sudo sysctl -w kernel.core_pattern=$PWD/core 执行一次可执行程序 ./a.out segmentation fault (core 阅读全文
posted @ 2023-09-12 09:47 feipeng8848 阅读(145) 评论(0) 推荐(0)
摘要: linux上用的find属于gnu find,如果是查找当前路径是可以省略`.`的,只需要`find -name "xxx"` 而mac上自带的find是bsd find,`.`不可以省略,否则会报错`/usr/bin/find: illegal option -- n` 可以手动安装 https: 阅读全文
posted @ 2023-09-06 21:13 feipeng8848 阅读(103) 评论(0) 推荐(0)
摘要: 官网可以下载源码 libxcb-1.15.tar xcb-util-cursor-0.1.4.tar xcb-util-image-0.4.1.tar xcb-util-renderutil-0.3.10.tar xcb-util-0.4.1.tar xcb-util-errors-1.0.1.ta 阅读全文
posted @ 2023-09-05 20:16 feipeng8848 阅读(1262) 评论(0) 推荐(0)
摘要: 用的zsh,在`$HOME`下添加了`.profile`发现没有生效 新的思路如下: - 在`/etc/profile.d`下创建新文件`userProfile.sh` ```bash if [[ -e $HOME/.profile ]]; then source $HOME/.profile fi 阅读全文
posted @ 2023-09-03 13:02 feipeng8848 阅读(171) 评论(0) 推荐(0)
摘要: ``` cd dev-home wget https://mirrors.aliyun.com/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz cd dev-home mkdir objdir cd objdir $HOME/dev-home/gcc/configure - 阅读全文
posted @ 2023-09-03 10:56 feipeng8848 阅读(722) 评论(0) 推荐(0)
摘要: 参考官方指导 https://devguide.python.org/getting-started/setup-building ```bash wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz tar -zxvf Py 阅读全文
posted @ 2023-09-02 22:12 feipeng8848 阅读(465) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 28 下一页