Lines Matching +full:top +full:- +full:level
1 .. SPDX-License-Identifier: GPL-2.0
5 IMC (In-Memory Collection Counters)
17 IMC (In-Memory collection counters) is a hardware monitoring facility that
18 collects large numbers of hardware performance events at Nest level (these are
19 on-chip but off-core), Core level and Thread level.
22 (On-Chip Controller) complex. The microcode collects the counter data and moves
25 The Core and Thread IMC PMU counters are handled in the core. Core level PMU
26 counters give us the IMC counters' data per core and thread level PMU counters
33 - Event name
34 - Event Offset
35 - Event description
39 - Event scale
40 - Event unit
49 https://github.com/open-power/ima-catalog
52 `imc-counters` device node which has a compatible field
53 `ibm,opal-in-memory-counters`. From the device tree, the kernel parses the PMUs
60 .. code-block:: sh
75 .. code-block:: sh
77 # ./perf stat -e "nest_mcs01/PM_MCS01_64B_WR_DISP_PORT01/" -a --per-socket
79 To see non-idle instructions for core 0:
81 .. code-block:: sh
83 # ./perf stat -e "core_imc/CPM_NON_IDLE_INST/" -C 0 -I 1000
85 To see non-idle instructions for a "make":
87 .. code-block:: sh
89 # ./perf stat -e "thread_imc/CPM_NON_IDLE_PCYC/" make
92 IMC Trace-mode
108 ---------------------
110 +-------+----------------------+
112 +-------+----------------------+
114 | +----------------------+
116 +-------+----------------------+
118 +-------+----------------------+
119 | 4-6 | PB scope |
120 +-------+----------------------+
122 +-------+----------------------+
124 +-------+----------------------+
126 +-------+----------------------+
129 ---------------------------------
131 +-------+------------+
133 +-------+------------+
135 +-------+------------+
137 +-------+------------+
139 +-------+------------+
141 +-------+------------+
143 +-------+------------+
152 *Currently the event monitored for trace-mode is fixed as cycle.*
157 .. code-block:: sh
163 To record an application/process with trace-imc event:
165 .. code-block:: sh
167 # perf record -e trace_imc/trace_cycles/ yes > /dev/null
173 Benefits of using IMC trace-mode
181 Performance data using `perf top` with and without trace-imc event.
183 PMI interrupts count when `perf top` command is executed without trace-imc event.
185 .. code-block:: sh
189 # ./perf top
193 # ./perf top -e trace_imc/trace_cycles/