요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
Clock behavior and divider
sysfs-bus-intel_th-devices-pti:8-24Trace 클록은 데이터가 있을 때만 toggle하는 strobe 또는 free-running으로 동작합니다. divider는 Intel TH 클록의 1, 1/2, 1/4, 1/8을 선택합니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/intel_th/devices/<intel_th_id>-pti/mode
2
Date: June 2015
3
KernelVersion: 4.3
4
Contact: Alexander Shishkin <[email protected]>
5
Description: (RW) Configure PTI output width. Currently supported values
6
are 4, 8, 12, 16.
8
What: /sys/bus/intel_th/devices/<intel_th_id>-pti/freerunning_clock
9
Date: June 2015
10
KernelVersion: 4.3
11
Contact: Alexander Shishkin <[email protected]>
12
Description: (RW) 0: PTI trace clock acts as a strobe which only toggles
13
when there is trace data to send. 1: PTI trace clock is a
14
free-running clock.
16
What: /sys/bus/intel_th/devices/<intel_th_id>-pti/clock_divider
17
Date: June 2015
18
KernelVersion: 4.3
19
Contact: Alexander Shishkin <[email protected]>
20
Description: (RW) Configure PTI port clock divider:
21
- 0: Intel TH clock rate,
22
- 1: 1/2 Intel TH clock rate,
23
- 2: 1/4 Intel TH clock rate,
24
- 3: 1/8 Intel TH clock rate.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
PTI 출력 폭
1-7| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-pti/mode |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) PTI 출력 폭을 구성합니다. 현재 지원하는 값은 4, 8, 12, 16입니다. |
PTI trace 클록 동작
8-15| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-pti/freerunning_clock |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) 0이면 PTI trace 클록이 strobe처럼 동작해 보낼 trace 데이터가 있을 때만 toggle합니다. 1이면 PTI trace 클록이 free-running clock으로 동작합니다. |
PTI port 클록 divider
16-24| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/intel_th/devices/<intel_th_id>-pti/clock_divider |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <[email protected]> |
| Description | (RW) PTI port 클록 divider를 구성합니다. |
| 값 | 클록 속도 |
|---|---|
| 0 | Intel TH 클록 속도 |
| 1 | Intel TH 클록 속도의 1/2 |
| 2 | Intel TH 클록 속도의 1/4 |
| 3 | Intel TH 클록 속도의 1/8 |
4 to 16-bit output
sysfs-bus-intel_th-devices-pti:1-7mode는 PTI 출력 폭을 4, 8, 12, 16 중 하나로 설정합니다.