요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
============
rv-mon-sched
============
-----------------------------
Scheduler monitors collection
-----------------------------
:Manual section: 1
SYNOPSIS
========
**rv mon sched** [*OPTIONS*]
**rv mon <NESTED_MONITOR>** [*OPTIONS*]
**rv mon sched:<NESTED_MONITOR>** [*OPTIONS*]
DESCRIPTION
===========
The scheduler monitor collection is a container for several monitors to model
the behaviour of the scheduler. Each monitor describes a specification that
the scheduler should follow.
As a monitor container, it will enable all nested monitors and set them
according to OPTIONS.
Nevertheless nested monitors can also be activated independently both by name
and by specifying sched: , e.g. to enable only monitor tss you can do any of:
# rv mon sched:tss
# rv mon tss
See kernel documentation for further information about this monitor:
<https://docs.kernel.org/trace/rv/monitor_sched.html>
OPTIONS
=======
.. include:: common_ikm.rst
NESTED MONITOR
==============
The available nested monitors are:
* scpd: schedule called with preemption disabled
* snep: schedule does not enable preempt
* sncid: schedule not called with interrupt disabled
* snroc: set non runnable on its own context
* sco: scheduling context operations
* tss: task switch while scheduling
SEE ALSO
========
**rv**\(1), **rv-mon**\(1)
Linux kernel *RV* documentation:
<https://www.kernel.org/doc/html/latest/trace/rv/index.html>
AUTHOR
======
Written by Gabriele Monaco <[email protected]>
.. include:: common_appendix.rst
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
scheduler 규격을 검사하는 monitor 컨테이너
1-31`rv mon sched [OPTIONS]`, `rv mon NESTED_MONITOR [OPTIONS]`, `rv mon sched:NESTED_MONITOR [OPTIONS]`는 scheduler monitor 모음을 실행하는 세 가지 문법이다.
scheduler monitor 모음은 scheduler 동작을 모델링하는 여러 monitor의 컨테이너다. 각 monitor는 scheduler가 따라야 할 규격 하나를 설명한다. 컨테이너로 실행하면 모든 중첩 monitor를 활성화하고 전달된 옵션을 적용한다.
컨테이너 또는 개별 이름으로 같은 중첩 monitor에 도달한다.
.. SPDX-License-Identifier: GPL-2.0
============
rv-mon-sched
============
-----------------------------
Scheduler monitors collection
-----------------------------
:Manual section: 1
SYNOPSIS
========
**rv mon sched** [*OPTIONS*]
**rv mon <NESTED_MONITOR>** [*OPTIONS*]
**rv mon sched:<NESTED_MONITOR>** [*OPTIONS*]
DESCRIPTION
===========
The scheduler monitor collection is a container for several monitors to model
the behaviour of the scheduler. Each monitor describes a specification that
the scheduler should follow.
As a monitor container, it will enable all nested monitors and set them
according to OPTIONS.
Nevertheless nested monitors can also be activated independently both by name
and by specifying sched: , e.g. to enable only monitor tss you can do any of:
중첩 monitor 개별 활성화
32-45중첩 monitor는 이름만 사용하거나 `sched:` 접두어를 붙여 독립적으로 활성화할 수 있다. 예를 들어 `tss`만 켜려면 `rv mon sched:tss` 또는 `rv mon tss`를 사용한다.
이 monitor의 자세한 모델과 이벤트 의미는 `https://docs.kernel.org/trace/rv/monitor_sched.html`에서 확인한다.
두 명령은 같은 중첩 monitor를 선택한다.
# rv mon sched:tss
# rv mon tss
See kernel documentation for further information about this monitor:
<https://docs.kernel.org/trace/rv/monitor_sched.html>
OPTIONS
=======
.. include:: common_ikm.rst
NESTED MONITOR
공통 옵션과 중첩 monitor 목록
46-58옵션은 `common_ikm.rst`의 도움말, reactor, self tracing, trace, verbose 설정을 공유한다.
사용 가능한 monitor는 `scpd`, `snep`, `sncid`, `snroc`, `sco`, `tss`다. 각각 preemption 또는 interrupt 비활성 상태에서의 schedule 호출, preempt 복원, runnable 상태 변경, scheduling context 연산, task switch 규칙을 검사한다.
축약 이름과 검사 규격을 대응시킨다.
==============
The available nested monitors are:
* scpd: schedule called with preemption disabled
* snep: schedule does not enable preempt
* sncid: schedule not called with interrupt disabled
* snroc: set non runnable on its own context
* sco: scheduling context operations
* tss: task switch while scheduling
SEE ALSO
========
관련 문서와 작성 정보
59-69관련 매뉴얼은 `rv(1)`과 `rv-mon(1)`이며 커널 RV 인덱스에서 전체 문서를 확인할 수 있다.
이 문서는 Gabriele Monaco가 작성했고 공통 부록을 포함한다.
scheduler monitor 사용과 구현 설명을 연결한다.
**rv**\(1), **rv-mon**\(1)
Linux kernel *RV* documentation:
<https://www.kernel.org/doc/html/latest/trace/rv/index.html>
AUTHOR
======
Written by Gabriele Monaco <[email protected]>
.. include:: common_appendix.rst
요약·해설
rv-mon-sched.rst:1-69scheduler monitor 컨테이너와 scpd·snep·sncid·snroc·sco·tss 중첩 monitor를 설명합니다.