No description
This repository has been archived on 2026-06-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C 52.1%
  • C++ 34.4%
  • Shell 6.7%
  • Roff 3.2%
  • Perl 2.7%
  • Other 0.9%
Find a file
2023-11-10 02:04:11 -05:00
deps init 2023-10-18 06:44:15 -04:00
documents diagnose-tools: 解决3.10编译错误以及加载模块失败问题,同时修改一处笔误 2021-11-28 14:44:09 +08:00
openssl init 2023-10-18 06:44:15 -04:00
prebuild/modules diagnose-tools: 第一次提交 2020-06-28 13:45:46 +08:00
rpmbuild diagnose-tools: 修改版本为2.1-release 2021-01-01 14:58:52 +08:00
SOURCE some comment 2023-11-10 01:48:09 -05:00
vender diagnose-tools: 缺失的包含文件 2020-07-06 20:09:51 +08:00
.gitignore diagnose-tools: Add .gitignore 2020-09-22 16:11:43 +08:00
deps.log init 2023-10-18 06:44:15 -04:00
irq-delay.log init 2023-10-18 06:44:15 -04:00
irq_stats.log init 2023-10-18 06:44:15 -04:00
irq_trace.log init 2023-10-18 06:44:15 -04:00
LICENSE Initial commit 2020-06-28 11:39:58 +08:00
log init 2023-10-18 06:44:15 -04:00
Makefile diagnost-tools: 适配kernel 5.10 + glibc 2.32 2021-11-13 23:08:10 +08:00
README.md update readme 2023-11-10 02:04:11 -05:00
sched_delay.log init 2023-10-18 06:44:15 -04:00
sys-cost.cost.svg init 2023-10-18 06:44:15 -04:00
sys-cost.count.svg init 2023-10-18 06:44:15 -04:00
sys-cost.log init 2023-10-18 06:44:15 -04:00
sys-delay.log init 2023-10-18 06:44:15 -04:00
update_5.17.15-1.el8.x86_64.md update readme 2023-11-10 02:04:11 -05:00

diagnose-tools


10.18.2023 以后提交,针对 5.17.15-1.el8.x86_64 内核做了适配,编译通过,load-monitor 功能正常,其他未测试.


1、快速上手

建议在 Centos 7.5/7.6 版本中进行实验。

第一步、使用如下命令clone代码

git clone https://github.com/alibaba/diagnose-tools.git

第二步、在diagnose-tools目录中运行如下命令初始化编译环境

make devel        # 安装编译过程中需要的包

make deps         # 编译依赖库目前主要是编译java agent以支持用户态java符号表解析

第三步、编译工具:

make

这一步实际上会完成rpm的安装你也可以用如下命令分别完成相应的工作

make module       # 编译内核模块

make tools        # 编译用户态命令行工具

make java_agent   # 编译java agent

make pkg          # 制作rpm安装包

第四步、测试

make test