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 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

요약과 해설

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. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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";
};