Documentation/ABI/testing/sysfs-bus-event_source-devices-vpa-dtl GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

PowerPC VPA DTL PMU sysfs ABI

Virtual Processor Dispatch Trace Log PMU의 event ID encoding과 지원하는 performance event 파일의 이름 규칙을 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-event_source-devices-vpa-dtl
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

VPA DTL event format

sysfs-bus-event_source-devices-vpa-dtl:1-16

format group은 perf_event_attr.config의 0-7번 bit를 event ID로 정의하며, dtl_cede event는 event=0x1로 encoding합니다.

VPA DTL events

sysfs-bus-event_source-devices-vpa-dtl:18-25

events group의 각 read-only attribute는 vpa_dtl PMU가 지원하는 Virtual Processor Dispatch Trace Log performance event 하나를 나타내며, 파일명이 event 이름입니다.

2. 영어 원문 전체

번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.

원문 전체 펼치기
1 What: /sys/bus/event_source/devices/vpa_dtl/format
2 Date: February 2025
3 Contact: Linux on PowerPC Developer List <linuxppc-dev at lists.ozlabs.org>
4 Description: Read-only. Attribute group to describe the magic bits
5 that go into perf_event_attr.config for a particular pmu.
6 (See ABI/testing/sysfs-bus-event_source-devices-format).
7
8 Each attribute under this group defines a bit range of the
9 perf_event_attr.config. Supported attribute are listed
10 below::
11
12 event = "config:0-7" - event ID
13
14 For example::
15
16 dtl_cede = "event=0x1"
17
18 What: /sys/bus/event_source/devices/vpa_dtl/events
19 Date: February 2025
20 Contact: Linux on PowerPC Developer List <linuxppc-dev at lists.ozlabs.org>
21 Description: (RO) Attribute group to describe performance monitoring events
22 for the Virtual Processor Dispatch Trace Log. Each attribute in
23 this group describes a single performance monitoring event
24 supported by vpa_dtl pmu. The name of the file is the name of
25 the event (See ABI/testing/sysfs-bus-event_source-devices-events).
26

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

VPA DTL event format

1-16
항목전문 번역
What/sys/bus/event_source/devices/vpa_dtl/format
Date2025년 2월
ContactLinux on PowerPC Developer List <linuxppc-dev at lists.ozlabs.org>
DescriptionRead-only입니다. 특정 PMU에서 perf_event_attr.config에 들어가는 magic bits를 설명하는 attribute group입니다. ABI/testing/sysfs-bus-event_source-devices-format도 참조합니다. 이 group 아래의 각 attribute는 perf_event_attr.config의 bit range를 정의합니다. 지원하는 attribute는 아래와 같습니다.
event  = "config:0-7"  - event ID

예:

dtl_cede = "event=0x1"

VPA DTL events

18-25
항목전문 번역
What/sys/bus/event_source/devices/vpa_dtl/events
Date2025년 2월
ContactLinux on PowerPC Developer List <linuxppc-dev at lists.ozlabs.org>
DescriptionRead-only입니다. Virtual Processor Dispatch Trace Log의 performance monitoring events를 설명하는 attribute group입니다. 이 group의 각 attribute는 vpa_dtl PMU가 지원하는 하나의 performance monitoring event를 설명합니다. 파일 이름이 event의 이름입니다. ABI/testing/sysfs-bus-event_source-devices-events도 참조합니다.