요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/platform/drivers/panfrost/.../profiling
2
Date: February 2024
3
KernelVersion: 6.8.0
4
Contact: Adrian Larumbe <[email protected]>
5
Description:
6
Get/set drm fdinfo's engine and cycles profiling status.
7
Valid values are:
8
0: Don't enable fdinfo job profiling sources.
9
1: Enable fdinfo job profiling sources, this enables both the GPU's
10
timestamp and cycle counter registers.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Panfrost fdinfo profiling control
1-10| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/platform/drivers/panfrost/.../profiling |
| Date | 2024년 2월 |
| KernelVersion | 6.8.0 |
| Contact | Adrian Larumbe <[email protected]> |
| Description | DRM fdinfo의 engine·cycles profiling status를 읽거나 설정합니다. 0은 fdinfo job profiling sources를 활성화하지 않고, 1은 sources를 활성화하면서 GPU timestamp와 cycle counter registers를 모두 enable합니다. |
| Access | Read-write |
Valuefdinfo profilingGPU registers
0DisabledTimestamp off; cycle counter off
1EnabledTimestamp on; cycle counter on
단일 switch가 두 GPU counter sources를 함께 제어합니다.
Panfrost profiling switch
sysfs-driver-panfrost-profiling:1-10profiling 값 0은 fdinfo job profiling sources를 끄고, 1은 GPU timestamp와 cycle counter registers를 모두 활성화합니다.