요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Virtual Processor Area events
sysfs-bus-event_source-devices-vpa-pmu:18-25events group의 각 read-only attribute는 vpa_pmu가 지원하는 Virtual Processor Area performance event 하나를 나타내며, 파일명이 event 이름입니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/event_source/devices/vpa_pmu/format
2
Date: November 2024
3
Contact: Linux on PowerPC Developer List <linuxppc-dev@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).
8
Each attribute under this group defines a bit range of the
9
perf_event_attr.config. Supported attribute are listed
10
below::
12
event = "config:0-31" - event ID
14
For example::
16
l1_to_l2_lat = "event=0x1"
18
What: /sys/bus/event_source/devices/vpa_pmu/events
19
Date: November 2024
20
Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org>
21
Description: Read-only. Attribute group to describe performance monitoring
22
events for the Virtual Processor Area events. Each attribute
23
in this group describes a single performance monitoring event
24
supported by vpa_pmu. The name of the file is the name of
25
the event (See ABI/testing/sysfs-bus-event_source-devices-events).
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
VPA PMU event format
1-16| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/event_source/devices/vpa_pmu/format |
| Date | 2024년 11월 |
| Contact | Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
| Description | Read-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-31" - event ID
예:
l1_to_l2_lat = "event=0x1"
Virtual Processor Area events
18-25| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/event_source/devices/vpa_pmu/events |
| Date | 2024년 11월 |
| Contact | Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> |
| Description | Read-only입니다. Virtual Processor Area events의 performance monitoring events를 설명하는 attribute group입니다. 이 group의 각 attribute는 vpa_pmu가 지원하는 하나의 performance monitoring event를 설명합니다. 파일 이름이 event의 이름입니다. ABI/testing/sysfs-bus-event_source-devices-events도 참조합니다. |
VPA PMU event format
sysfs-bus-event_source-devices-vpa-pmu:1-16format group은 perf_event_attr.config의 0-31번 bit를 event ID로 정의하며, l1_to_l2_lat event는 event=0x1로 encoding합니다.