요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Connected trigger signals와 types
sysfs-bus-coresight-devices-cti:25-55triggers<N>은 connected device name과 CTI input·output trigger signal numbers 및 functional types를 읽게 합니다.
Input/output mapping과 control registers
sysfs-bus-coresight-devices-cti:57-85inout_sel이 CTIINEN·CTIOUTEN index를 선택하고 inen·outen·gate·asicctl이 corresponding registers를 read/write합니다.
Application channel control과 status registers
sysfs-bus-coresight-devices-cti:87-135INTACK, APPSET·APPCLEAR·APPPULSE가 interrupt acknowledge와 channel activation을 제어하고 channel·trigger input/output status files가 current signals를 보고합니다.
Trigger attachment와 channel gates
sysfs-bus-coresight-devices-cti:137-172Input·output triggers를 CTM channels에 attach/detach하고 channel별 CTIGATE를 enable·disable합니다.
Channel activation, filtering과 allocation state
sysfs-bus-coresight-devices-cti:174-214Channel set·clear·single-cycle pulse, trigger output filtering, attached-trigger 기준 in-use/free channel lists를 제공합니다.
Selected-channel inspection, reset과 device label
sysfs-bus-coresight-devices-cti:216-247chan_xtrigs_*는 selected channel의 input/output triggers를 조사하고 programming을 reset하며 label은 device hardware context information을 보여 줍니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/coresight/devices/<cti-name>/enable
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Enable/Disable the CTI hardware.
What: /sys/bus/coresight/devices/<cti-name>/powered
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Indicate if the CTI hardware is powered.
What: /sys/bus/coresight/devices/<cti-name>/ctmid
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Display the associated CTM ID
What: /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Number of devices connected to triggers on this CTI
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Name of connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Input trigger signals from connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Functional types for the input trigger signals
from connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Output trigger signals to connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Functional types for the output trigger signals
to connected device <N>
What: /sys/bus/coresight/devices/<cti-name>/regs/inout_sel
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Select the index for inen and outen registers.
What: /sys/bus/coresight/devices/<cti-name>/regs/inen
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write the CTIINEN register selected by inout_sel.
What: /sys/bus/coresight/devices/<cti-name>/regs/outen
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write the CTIOUTEN register selected by inout_sel.
What: /sys/bus/coresight/devices/<cti-name>/regs/gate
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write CTIGATE register.
What: /sys/bus/coresight/devices/<cti-name>/regs/asicctl
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Read or write ASICCTL register.
What: /sys/bus/coresight/devices/<cti-name>/regs/intack
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Write the INTACK register.
What: /sys/bus/coresight/devices/<cti-name>/regs/appset
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Set CTIAPPSET register to activate channel. Read back to
determine current value of register.
What: /sys/bus/coresight/devices/<cti-name>/regs/appclear
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Write APPCLEAR register to deactivate channel.
What: /sys/bus/coresight/devices/<cti-name>/regs/apppulse
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Write APPPULSE to pulse a channel active for one clock
cycle.
What: /sys/bus/coresight/devices/<cti-name>/regs/chinstatus
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Read current status of channel inputs.
What: /sys/bus/coresight/devices/<cti-name>/regs/choutstatus
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) read current status of channel outputs.
What: /sys/bus/coresight/devices/<cti-name>/regs/triginstatus
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) read current status of input trigger signals
What: /sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) read current status of output trigger signals.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Attach a CTI input trigger to a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Detach a CTI input trigger from a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Attach a CTI output trigger to a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Detach a CTI output trigger from a CTM channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Enable CTIGATE for single channel (Write) or list enabled
channels through the gate (R).
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Disable CTIGATE for single channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_set
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Activate a single channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_clear
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Deactivate a single channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Pulse a single channel - activate for a single clock cycle.
What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) List of output triggers filtered across all connections.
What: /sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Enable or disable trigger output signal filtering.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_inuse
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) show channels with at least one attached trigger signal.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_free
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) show channels with no attached trigger signals.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (RW) Write channel number to select a channel to view, read to
see selected channel number.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Read to see input triggers connected to selected view
channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Read) Read to see output triggers connected to selected view
channel.
What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset
Date: March 2020
KernelVersion: 5.7
Contact: Mike Leach or Mathieu Poirier
Description: (Write) Clear all channel / trigger programming.
What: /sys/bus/coresight/devices/<cti-name>/label
Date: Aug 2025
KernelVersion 6.18
Contact: Mao Jinlong <[email protected]>
Description: (Read) Show hardware context information of device.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
CTI hardware control과 identity
1-23| 공통 항목 | 내용 |
|---|---|
| Date | 2020년 3월 |
| KernelVersion | 5.7 |
| Contact | Mike Leach 또는 Mathieu Poirier |
| 적용 범위 | 별도 metadata가 명시된 label을 제외한 lines 1-241의 모든 CTI attributes |
| What | Access | 전문 번역 |
|---|---|---|
| /sys/bus/coresight/devices/<cti-name>/enable | RW | CTI hardware를 enable 또는 disable합니다. |
| /sys/bus/coresight/devices/<cti-name>/powered | Read | CTI hardware에 power가 공급되는지 나타냅니다. |
| /sys/bus/coresight/devices/<cti-name>/ctmid | Read | 연결된 CTM ID를 표시합니다. |
| /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons | Read | 이 CTI의 triggers에 연결된 device 수입니다. |
Connected devices와 trigger metadata
25-55| What | Access | 전문 번역 |
|---|---|---|
| /sys/bus/coresight/devices/<cti-name>/triggers<N>/name | Read | Connected device <N>의 name입니다. |
| /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals | Read | Connected device <N>에서 들어오는 input trigger signals입니다. |
| /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types | Read | Connected device <N>에서 들어오는 input trigger signals의 functional types입니다. |
| /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals | Read | Connected device <N>으로 나가는 output trigger signals입니다. |
| /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types | Read | Connected device <N>으로 나가는 output trigger signals의 functional types입니다. |
Connected device의 input trigger가 CTM channel에 mapping되고 CTI output trigger로 다른 device에 전달되는 기본 구조다.
CTI mapping, gate와 ASIC registers
57-85| What | Access | 전문 번역 |
|---|---|---|
| /sys/bus/coresight/devices/<cti-name>/regs/inout_sel | RW | inen과 outen registers에 사용할 index를 선택합니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/inen | RW | inout_sel이 선택한 CTIINEN register를 읽거나 씁니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/outen | RW | inout_sel이 선택한 CTIOUTEN register를 읽거나 씁니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/gate | RW | CTIGATE register를 읽거나 씁니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/asicctl | RW | ASICCTL register를 읽거나 씁니다. |
inout_sel로 register index를 고른 뒤 같은 inen·outen files를 통해 selected mapping register에 접근한다.
Application channel control과 signal status
87-135| What | Access | 전문 번역 |
|---|---|---|
| /sys/bus/coresight/devices/<cti-name>/regs/intack | Write | INTACK register에 씁니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/appset | RW | CTIAPPSET register를 set하여 channel을 activate합니다. Read-back으로 current register value를 확인합니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/appclear | Write | APPCLEAR register에 써서 channel을 deactivate합니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/apppulse | Write | APPPULSE에 써서 channel을 한 clock cycle 동안 active로 pulse합니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/chinstatus | Read | Channel inputs의 current status를 읽습니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/choutstatus | Read | Channel outputs의 current status를 읽습니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/triginstatus | Read | Input trigger signals의 current status를 읽습니다. |
| /sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus | Read | Output trigger signals의 current status를 읽습니다. |
| Operation | Register | Channel effect |
|---|---|---|
| Set | CTIAPPSET | Channel activate |
| Clear | APPCLEAR | Channel deactivate |
| Pulse | APPPULSE | 한 clock cycle 동안 activate |
CTM channel trigger attachment와 gating
137-172| What | Access | 전문 번역 |
|---|---|---|
| /sys/bus/coresight/devices/<cti-name>/channels/trigin_attach | Write | CTI input trigger를 CTM channel에 attach합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/trigin_detach | Write | CTI input trigger를 CTM channel에서 detach합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/trigout_attach | Write | CTI output trigger를 CTM channel에 attach합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/trigout_detach | Write | CTI output trigger를 CTM channel에서 detach합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable | RW | Write 시 single channel에 CTIGATE를 enable하고, read 시 gate를 통해 enable된 channels를 나열합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable | Write | Single channel의 CTIGATE를 disable합니다. |
Channel control, output filtering과 allocation
174-214| What | Access | 전문 번역 |
|---|---|---|
| /sys/bus/coresight/devices/<cti-name>/channels/chan_set | Write | Single channel을 activate합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_clear | Write | Single channel을 deactivate합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_pulse | Write | Single channel을 pulse하여 한 clock cycle 동안 activate합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered | Read | 모든 connection에 걸쳐 filtered된 output triggers 목록입니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable | RW | Trigger output signal filtering을 enable 또는 disable합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_inuse | Read | Attached trigger signal이 하나 이상 있는 channels를 보여 줍니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_free | Read | Attached trigger signal이 없는 channels를 보여 줍니다. |
Channel trigger inspection, reset과 context label
216-247| What | Access | 전문 번역 |
|---|---|---|
| /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel | RW | 살펴볼 channel을 선택하려면 channel number를 씁니다. Read하면 selected channel number를 확인할 수 있습니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in | Read | Selected view channel에 연결된 input triggers를 확인합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out | Read | Selected view channel에 연결된 output triggers를 확인합니다. |
| /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset | Write | 모든 channel/trigger programming을 clear합니다. |
| 항목 | 전문 번역 |
|---|---|
| What | /sys/bus/coresight/devices/<cti-name>/label |
| Date | 2025년 8월 |
| KernelVersion | 6.18 |
| Contact | Mao Jinlong <[email protected]> |
| Description | (Read) Device의 hardware context information을 보여 줍니다. |
Channel number를 selector에 쓴 뒤 connected input/output triggers를 별도 files로 읽고 필요하면 programming 전체를 reset한다.
CTI control, power와 CTM identity
sysfs-bus-coresight-devices-cti:1-23enable은 CTI hardware를 제어하고 powered·ctmid·nr_trigger_cons는 power state, associated CTM ID와 connected-trigger device 수를 제공합니다.