요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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 <[email protected]>
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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 <[email protected]> |
| 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 이름을 써서 연결합니다. 기존 연결이 있으면 먼저 해제합니다.