요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
GTH switch mapping
sysfs-bus-intel_th-output-devices:9-15port는 GTH switch의 대응 번호를 반환하고 드라이버가 없으면 unassigned를 반환합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/bus/intel_th/devices/<intel_th_id>-<device><id>/active
2
Date: June 2015
3
KernelVersion: 4.3
4
Contact: Alexander Shishkin <[email protected]>
5
Description: (RW) Writes of 1 or 0 enable or disable trace output to this
6
output device. Reads return current status. Requires that the
7
correstponding output port driver be loaded.
9
What: /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/port
10
Date: June 2015
11
KernelVersion: 4.3
12
Contact: Alexander Shishkin <[email protected]>
13
Description: (RO) Port number, corresponding to this output device on the
14
switch (GTH) or "unassigned" if the corresponding output
15
port driver is not loaded.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Trace 출력 활성 상태
1-8| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-<device><id>/active |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) 1 또는 0을 쓰면 이 출력 장치로의 trace 출력을 활성화하거나 비활성화합니다. 읽으면 현재 상태를 반환합니다. 대응하는 출력 port 드라이버가 로드되어 있어야 합니다. |
MSC 출력 장치 port 번호
9-15| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-msc<msc-id>/port |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RO) Switch(GTH)에서 이 출력 장치에 대응하는 port 번호입니다. 대응하는 출력 port 드라이버가 로드되지 않았으면 "unassigned"입니다. |
Output enable
sysfs-bus-intel_th-output-devices:1-8active는 출력 장치의 trace 출력을 켜고 끄며 대응 port 드라이버가 로드되어 있어야 합니다.