← Documents Documentation/devicetree/bindings/arc/pct.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

ARC Performance Counters

ARC700 pipeline performance monitor의 counter mapping과 interrupt 제약을 설명합니다.

Source pathDocumentation/devicetree/bindings/arc/pct.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

pct.txt:1-20

ARC700 PCT는 100개 이상의 event condition을 최대 32개 counter에 mapping하지만 event를 sampling interrupt trigger로 사용할 수는 없습니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 * ARC Performance Counters
2
3 The ARC700 can be configured with a pipeline performance monitor for counting
4 CPU and cache events like cache misses and hits. Like conventional PCT there
5 are 100+ hardware conditions dynamically mapped to up to 32 counters
6
7 Note that:
8 * The ARC 700 PCT does not support interrupts; although HW events may be
9 counted, the HW events themselves cannot serve as a trigger for a sample.
10
11 Required properties:
12
13 - compatible : should contain
14 "snps,arc700-pct"
15
16 Example:
17
18 pmu {
19 compatible = "snps,arc700-pct";
20 };
21

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

ARC Performance Counter 개요와 제약

1-9

ARC Performance Counter

ARC700은 cache miss와 hit 같은 CPU 및 cache event를 세기 위한 pipeline performance monitor를 구성할 수 있습니다. 일반적인 PCT와 마찬가지로 100개가 넘는 hardware condition을 최대 32개 counter에 동적으로 mapping합니다.

ARC 700 PCT는 interrupt를 지원하지 않습니다. Hardware event의 수를 셀 수는 있지만 해당 event 자체를 sample trigger로 사용할 수는 없습니다.

필수 property와 PMU node 예

10-20

필수 property

`compatible` property에는 다음 string이 들어가야 합니다.

- compatible : should contain
        "snps,arc700-pct"

pmu {
        compatible = "snps,arc700-pct";
};