Skip to content

Commit eb8e004

Browse files
committed
Profile add kernel support
1 parent 4772ee2 commit eb8e004

2 files changed

Lines changed: 70 additions & 68 deletions

File tree

‎docs/zh/05-features/04-continuous-profiling/01-auto-profiling.md‎

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -15,41 +15,42 @@ permalink: /features/continuous-profiling/auto-profiling
1515

1616
支持的 eBPF Profiling 数据类型:
1717

18-
| 类型 | 支持语言/库 | 社区版 | 企业版 |
19-
| ---------- | ----------- | ------ | ------ |
20-
| on-cpu | Java | ✔ | ✔ |
21-
| | C/C++ | ✔ | ✔ |
22-
| | Rust | ✔ | ✔ |
23-
| | Golang | ✔ | ✔ |
24-
| | CUDA | ✔ | ✔ |
25-
| | Node.js/V8 | | ✔ |
26-
| | PHP | | ✔ |
27-
| | Lua | | ✔ |
28-
| | Python | | ✔ |
29-
| off-cpu | Java | | ✔ |
30-
| | C/C++ | | ✔ |
31-
| | Rust | | ✔ |
32-
| | Golang | | ✔ |
33-
| | CUDA | | ✔ |
34-
| | Node.js/V8 | | ✔ |
35-
| | PHP | | ✔ |
36-
| | Python | | ✔ |
37-
| on-gpu | CUDA `*` | | ✔ |
38-
| mem-alloc | Java `**` | | ✔ |
39-
| | Rust | | ✔ |
40-
| | Golang `*` | | ✔ |
41-
| | Python | | ✔ |
42-
| mem-inuse | Rust | | ✔ |
43-
| | Python | | ✔ |
44-
| hbm-alloc | CUDA `*` | | ✔ |
45-
| | Python(调用 CUDA) | | ✔ |
46-
| hbm-inuse | CUDA `*` | | ✔ |
47-
| | Python(调用 CUDA) | | ✔ |
48-
| rdma | C/C++ `*` | | ✔ |
18+
| 类型 | 支持语言/库 | 支持的内核版本 | 社区版 | 企业版 |
19+
| ---------- | ----------- | -------------- | ------ | ------ |
20+
| on-cpu | Java | Linux 4.14+ | ✔ | ✔ |
21+
| | C/C++ | Linux 4.14+ | ✔ | ✔ |
22+
| | Rust | Linux 4.14+ | ✔ | ✔ |
23+
| | Golang | Linux 4.14+ | ✔ | ✔ |
24+
| | CUDA | Linux 4.14+ | ✔ | ✔ |
25+
| | Node.js/V8 | Linux 5.2+/白名单内核 `***` | | ✔ |
26+
| | PHP | Linux 5.2+/白名单内核 `***` | | ✔ |
27+
| | Lua | Linux 5.2+/白名单内核 `***` | | ✔ |
28+
| | Python | Linux 5.2+/白名单内核 `***` | | ✔ |
29+
| off-cpu | Java | Linux 4.14+ | | ✔ |
30+
| | C/C++ | Linux 4.14+ | | ✔ |
31+
| | Rust | Linux 4.14+ | | ✔ |
32+
| | Golang | Linux 4.14+ | | ✔ |
33+
| | CUDA | Linux 4.14+ | | ✔ |
34+
| | Node.js/V8 | Linux 5.2+/白名单内核 `***` | | ✔ |
35+
| | PHP | Linux 5.2+/白名单内核 `***` | | ✔ |
36+
| | Python | Linux 5.2+/白名单内核 `***` | | ✔ |
37+
| on-gpu | CUDA `*` | Linux 4.14+ | | ✔ |
38+
| mem-alloc | Java `**` | Linux 4.14+ | | ✔ |
39+
| | Rust | Linux 4.14+ | | ✔ |
40+
| | Golang `*` | Linux 4.14+ | | ✔ |
41+
| | Python | Linux 5.2+/白名单内核 `***` | | ✔ |
42+
| mem-inuse | Rust | Linux 4.14+ | | ✔ |
43+
| | Python | Linux 5.2+/白名单内核 `***` | | ✔ |
44+
| hbm-alloc | CUDA `*` | Linux 4.14+ | | ✔ |
45+
| | Python(调用 CUDA) | Linux 5.2+/白名单内核 `***` | | ✔ |
46+
| hbm-inuse | CUDA `*` | Linux 4.14+ | | ✔ |
47+
| | Python(调用 CUDA) | Linux 5.2+/白名单内核 `***` | | ✔ |
48+
| rdma | C/C++ `*` | Linux 4.14+ | | ✔ |
4949

5050
说明:
5151
- `*`: features in development
5252
- `**`: 运行 Java 程序的 JVM 须有符号表,参考[检查方法](#jvm-符号表检查)
53+
- `***`: 已适配的麒麟 V2207 内核:版本以 `4.19.90-` 开头且包含 `.v2207.ky10.`
5354
- 类型:
5455
- on-cpu:函数在 CPU 上消耗的时间
5556
- off-cpu:函数等待 CPU 的时间
@@ -108,9 +109,9 @@ Off-CPU Profiling 功能**仅会**采集如下调用栈:
108109

109110
支持的 Java Profiling 数据类型:
110111

111-
| 类型 | 支持语言/库 | 社区版 | 企业版 |
112-
| ---- | ----------- | ------ | ------ |
113-
| cpu | Java | | ✔ |
112+
| 类型 | 支持语言/库 | 支持的内核版本 | 社区版 | 企业版 |
113+
| ---- | ----------- | -------------- | ------ | ------ |
114+
| cpu | Java | 推荐 Linux 4.14+ | | ✔ |
114115

115116
说明:
116117
- 类型:

‎translate/translated/05-features/04-continuous-profiling/01-auto-profiling.md‎

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17,42 +17,43 @@ By using eBPF to capture snapshots of an application's function call stack, Deep
1717

1818
Supported eBPF profiling data types:
1919

20-
| Type | Supported Languages/Libraries | Community Edition | Enterprise Edition |
21-
| ---------- | ----------------------------- | ----------------- | ------------------ |
22-
| on-cpu | Java | ✔ | ✔ |
23-
| | C/C++ | ✔ | ✔ |
24-
| | Rust | ✔ | ✔ |
25-
| | Golang | ✔ | ✔ |
26-
| | CUDA | ✔ | ✔ |
27-
| | Node.js/V8 | | ✔ |
28-
| | PHP | | ✔ |
29-
| | Lua | | ✔ |
30-
| | Python | | ✔ |
31-
| off-cpu | Java | | ✔ |
32-
| | C/C++ | | ✔ |
33-
| | Rust | | ✔ |
34-
| | Golang | | ✔ |
35-
| | CUDA | | ✔ |
36-
| | Node.js/V8 | | ✔ |
37-
| | PHP | | ✔ |
38-
| | Python | | ✔ |
39-
| on-gpu | CUDA `*` | | ✔ |
40-
| mem-alloc | Java `**` | | ✔ |
41-
| | Rust | | ✔ |
42-
| | Golang `*` | | ✔ |
43-
| | Python | | ✔ |
44-
| mem-inuse | Rust | | ✔ |
45-
| | Python | | ✔ |
46-
| hbm-alloc | CUDA `*` | | ✔ |
47-
| | Python (using CUDA) | | ✔ |
48-
| hbm-inuse | CUDA `*` | | ✔ |
49-
| | Python (using CUDA) | | ✔ |
50-
| rdma | C/C++ `*` | | ✔ |
20+
| Type | Supported Languages/Libraries | Supported Kernel Versions | Community Edition | Enterprise Edition |
21+
| ---------- | ----------------------------- | ------------------------- | ----------------- | ------------------ |
22+
| on-cpu | Java | Linux 4.14+ | ✔ | ✔ |
23+
| | C/C++ | Linux 4.14+ | ✔ | ✔ |
24+
| | Rust | Linux 4.14+ | ✔ | ✔ |
25+
| | Golang | Linux 4.14+ | ✔ | ✔ |
26+
| | CUDA | Linux 4.14+ | ✔ | ✔ |
27+
| | Node.js/V8 | Linux 5.2+/whitelisted kernels `***` | | ✔ |
28+
| | PHP | Linux 5.2+/whitelisted kernels `***` | | ✔ |
29+
| | Lua | Linux 5.2+/whitelisted kernels `***` | | ✔ |
30+
| | Python | Linux 5.2+/whitelisted kernels `***` | | ✔ |
31+
| off-cpu | Java | Linux 4.14+ | | ✔ |
32+
| | C/C++ | Linux 4.14+ | | ✔ |
33+
| | Rust | Linux 4.14+ | | ✔ |
34+
| | Golang | Linux 4.14+ | | ✔ |
35+
| | CUDA | Linux 4.14+ | | ✔ |
36+
| | Node.js/V8 | Linux 5.2+/whitelisted kernels `***` | | ✔ |
37+
| | PHP | Linux 5.2+/whitelisted kernels `***` | | ✔ |
38+
| | Python | Linux 5.2+/whitelisted kernels `***` | | ✔ |
39+
| on-gpu | CUDA `*` | Linux 4.14+ | | ✔ |
40+
| mem-alloc | Java `**` | Linux 4.14+ | | ✔ |
41+
| | Rust | Linux 4.14+ | | ✔ |
42+
| | Golang `*` | Linux 4.14+ | | ✔ |
43+
| | Python | Linux 5.2+/whitelisted kernels `***` | | ✔ |
44+
| mem-inuse | Rust | Linux 4.14+ | | ✔ |
45+
| | Python | Linux 5.2+/whitelisted kernels `***` | | ✔ |
46+
| hbm-alloc | CUDA `*` | Linux 4.14+ | | ✔ |
47+
| | Python (using CUDA) | Linux 5.2+/whitelisted kernels `***` | | ✔ |
48+
| hbm-inuse | CUDA `*` | Linux 4.14+ | | ✔ |
49+
| | Python (using CUDA) | Linux 5.2+/whitelisted kernels `***` | | ✔ |
50+
| rdma | C/C++ `*` | Linux 4.14+ | | ✔ |
5151

5252
Notes:
5353

5454
- `*`: features in development
5555
- `**`: The JVM running the Java program must have a symbol table. See the [check method](#jvm-symbol-table-check).
56+
- `***`: Adapted Kylin V2207 kernels whose versions start with `4.19.90-` and contain `.v2207.ky10.`
5657
- Types:
5758
- on-cpu: Time a function spends on the CPU
5859
- off-cpu: Time a function waits for the CPU
@@ -111,9 +112,9 @@ The Off-CPU profiling feature **only** collects the following call stacks:
111112

112113
Supported Java Profiling data types:
113114

114-
| Type | Supported Language/Library | Community Edition | Enterprise Edition |
115-
| ---- | -------------------------- | ----------------- | ------------------ |
116-
| cpu | Java | | ✔ |
115+
| Type | Supported Language/Library | Supported Kernel Versions | Community Edition | Enterprise Edition |
116+
| ---- | -------------------------- | ------------------------- | ----------------- | ------------------ |
117+
| cpu | Java | Linux 4.14+ recommended | | ✔ |
117118

118119
Notes:
119120

0 commit comments

Comments
 (0)