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

Linux 6.18.37 · ABI / testing

PowerPC VPA PMU sysfs ABI

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

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

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

1. 요약·해설

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

VPA PMU event format

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

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

Virtual Processor Area events

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

events 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 <[email protected]>
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-31" - event ID
13
14 For example::
15
16 l1_to_l2_lat = "event=0x1"
17
18 What: /sys/bus/event_source/devices/vpa_pmu/events
19 Date: November 2024
20 Contact: Linux on PowerPC Developer List <[email protected]>
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).
26

3. 한국어 전문 번역

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

VPA PMU event format

1-16
항목전문 번역
What/sys/bus/event_source/devices/vpa_pmu/format
Date2024년 11월
ContactLinux on PowerPC Developer List <[email protected]>
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-31" - event ID

예:

l1_to_l2_lat = "event=0x1"

Virtual Processor Area events

18-25
항목전문 번역
What/sys/bus/event_source/devices/vpa_pmu/events
Date2024년 11월
ContactLinux on PowerPC Developer List <[email protected]>
DescriptionRead-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도 참조합니다.