aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMadhavan Srinivasan <[email protected]>2017-07-19 03:06:33 +0530
committerMichael Ellerman <[email protected]>2017-07-25 22:55:27 +1000
commit8f95faaac56c18b32d0e23ace55417a440abdb7e (patch)
treecfc36a3fb718296b460ad9e1d5f5652a150a359c /tools/perf/scripts/python
parent28a5db0061014c8afbbb98560cf420c29bc4d8e1 (diff)
powerpc/powernv: Detect and create IMC device
Code to create platform device for the In-Memory Collection (IMC) counters. Platform devices are created based on the IMC compatibility. New header file created to contain the data structures and macros needed for In-Memory Collection (IMC) counter pmu devices. The device tree for IMC counters starts at the node "imc-counters". This node contains all the IMC PMU nodes and event nodes for these IMC PMUs. Device probe() parses the device to locate three possible IMC device types (Nest/Core/Thread). Function then branch to parse each unit nodes to populate vital information such as device memory sizes, event nodes information, base address for reserve memory access (if any) and so on. Simple bare-minimum shutdown function added which only "stops" the engines. Signed-off-by: Anju T Sudhakar <[email protected]> Signed-off-by: Hemant Kumar <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> [mpe: Fix build with CONFIG_PERF_EVENTS=n] Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions