xref: /freebsd/sys/contrib/device-tree/Bindings/arc/pct.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* ARC Performance Counters
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe ARC700 can be configured with a pipeline performance monitor for counting
4*c66ec88fSEmmanuel VadotCPU and cache events like cache misses and hits. Like conventional PCT there
5*c66ec88fSEmmanuel Vadotare 100+ hardware conditions dynamically mapped to up to 32 counters
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotNote that:
8*c66ec88fSEmmanuel Vadot * The ARC 700 PCT does not support interrupts; although HW events may be
9*c66ec88fSEmmanuel Vadot   counted, the HW events themselves cannot serve as a trigger for a sample.
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotRequired properties:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot- compatible : should contain
14*c66ec88fSEmmanuel Vadot	"snps,arc700-pct"
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadotpmu {
19*c66ec88fSEmmanuel Vadot        compatible = "snps,arc700-pct";
20*c66ec88fSEmmanuel Vadot};
21