← Documents Documentation/ABI/testing/sysfs-kernel-btf GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Kernel BTF sysfs ABI

Kernel과 load된 modules의 BTF type information을 read-only binary attributes로 노출하는 계층과 format 참조를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-kernel-btf
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Kernel and module type metadata

sysfs-kernel-btf:1-25

Kernel 자체 BTF를 base로 제공하고 각 module의 BTF를 add-on read-only binary attribute로 노출합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/kernel/btf
2 Date: Aug 2019
3 KernelVersion: 5.5
4 Contact: bpf@vger.kernel.org
5 Description:
6 Contains BTF type information and related data for kernel and
7 kernel modules.
8
9 What: /sys/kernel/btf/vmlinux
10 Date: Aug 2019
11 KernelVersion: 5.5
12 Contact: bpf@vger.kernel.org
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.
18
19 What: /sys/kernel/btf/<module-name>
20 Date: Nov 2020
21 KernelVersion: 5.11
22 Contact: bpf@vger.kernel.org
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).
26

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Kernel btf

1-8
항목한국어 전문 번역
What/sys/kernel/btf
Date2019년 8월
KernelVersion5.5
Contactbpf@vger.kernel.org
DescriptionKernel과 kernel modules의 BTF type information 및 관련 data를 포함하는 directory입니다.

Kernel vmlinux

9-18
항목한국어 전문 번역
What/sys/kernel/btf/vmlinux
Date2019년 8월
KernelVersion5.5
Contactbpf@vger.kernel.org
DescriptionKernel 자체의 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>
Date2020년 11월
KernelVersion5.11
Contactbpf@vger.kernel.org
DescriptionKernel module의 BTF type information을 kernel BTF(`/sys/kernel/btf/vmlinux`)에 대한 add-on 형태로 노출하는 read-only binary attribute입니다.
Kernel and module BTF hierarchy
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으로 결합됩니다.