요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/class/stm_source/<stm_source>/stm_source_link
2
Date: June 2015
3
KernelVersion: 4.3
4
Contact: Alexander Shishkin <alexander.shishkin@linux.intel.com>
5
Description:
6
stm_source device linkage to stm device, where its tracing data
7
is directed. Reads return an existing connection or "<none>" if
8
this stm_source is not connected to any stm device yet.
9
Write an existing (registered) stm device's name here to
10
connect that device. If a device is already connected to this
11
stm_source, it will first be disconnected.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
STM source destination link
1-11| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/stm_source/<stm_source>/stm_source_link |
| Date | 2015년 6월 |
| KernelVersion | 4.3 |
| Contact | Alexander Shishkin <alexander.shishkin@linux.intel.com> |
| Description | stm_source device와 tracing data가 향하는 STM device 사이의 연결입니다. Read는 기존 연결을 반환하며, 아직 어떤 STM device에도 연결되지 않았으면 "<none>"을 반환합니다. 등록되어 있는 기존 STM device의 이름을 write하면 그 device에 연결합니다. 이 stm_source에 이미 device가 연결되어 있으면 먼저 연결을 해제합니다. |
stm_source_link에 registered STM device name write→기존 연결이 있으면 disconnect→지정한 STM device에 connect→Tracing data를 새 destination으로 전달
새 STM device 이름을 쓸 때 기존 destination을 먼저 정리합니다.
Trace-source destination link
sysfs-class-stm_source:1-11stm_source_link는 현재 연결된 STM device를 읽고, 등록된 device 이름을 써서 연결합니다. 기존 연결이 있으면 먼저 해제합니다.