요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/kernel/btf
2
Date: Aug 2019
3
KernelVersion: 5.5
4
Contact: [email protected]
5
Description:
6
Contains BTF type information and related data for kernel and
7
kernel modules.
9
What: /sys/kernel/btf/vmlinux
10
Date: Aug 2019
11
KernelVersion: 5.5
12
Contact: [email protected]
13
Description:
14
Read-only binary attribute exposing kernel's own BTF type
15
information with description of all internal kernel types. See
16
Documentation/bpf/btf.rst for detailed description of format
17
itself.
19
What: /sys/kernel/btf/<module-name>
20
Date: Nov 2020
21
KernelVersion: 5.11
22
Contact: [email protected]
23
Description:
24
Read-only binary attribute exposing kernel module's BTF type
25
information as an add-on to the kernel's BTF (/sys/kernel/btf/vmlinux).
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Kernel btf
1-8| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/btf |
| Date | 2019년 8월 |
| KernelVersion | 5.5 |
| Contact | [email protected] |
| Description | Kernel과 kernel modules의 BTF type information 및 관련 data를 포함하는 directory입니다. |
Kernel vmlinux
9-18| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/btf/vmlinux |
| Date | 2019년 8월 |
| KernelVersion | 5.5 |
| Contact | [email protected] |
| Description | Kernel 자체의 BTF type information을 노출하는 read-only binary attribute입니다. 모든 internal kernel types의 description을 포함하며 format 자체의 상세 설명은 `Documentation/bpf/btf.rst`를 참조합니다. |
Kernel <module-name>
19-25| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/btf/<module-name> |
| Date | 2020년 11월 |
| KernelVersion | 5.11 |
| Contact | [email protected] |
| Description | Kernel module의 BTF type information을 kernel BTF(`/sys/kernel/btf/vmlinux`)에 대한 add-on 형태로 노출하는 read-only binary attribute입니다. |
PathBinary contentRelationship
/sys/kernel/btf/vmlinuxAll internal kernel typesBase BTF
/sys/kernel/btf/<module-name>Kernel module typesAdd-on to vmlinux BTF
vmlinux BTF가 기준이 되고 각 module BTF가 add-on으로 결합됩니다.
Kernel and module type metadata
sysfs-kernel-btf:1-25Kernel 자체 BTF를 base로 제공하고 각 module의 BTF를 add-on read-only binary attribute로 노출합니다.