aboutsummaryrefslogtreecommitdiff
path: root/scripts/ethosumonitor/sample.json
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2022-09-29 11:52:22 +0200
committerKristofer Jonsson <kristofer.jonsson@arm.com>2022-10-19 09:18:46 +0200
commite56b6e4bd75c7ccec69f20b17c1e2d48b7c0892c (patch)
treeaa7838114949917bcd8846a448d7f7921522711f /scripts/ethosumonitor/sample.json
parent01c32d4768d8176a32c193f44069da1f43fbf513 (diff)
downloadethos-u-core-platform-e56b6e4bd75c7ccec69f20b17c1e2d48b7c0892c.tar.gz
Ethos-U PMU monitor
Add Python script demonstrating how to download performance data from device. Write baremetal PMU events to Event Recorder ring buffer and increase the systick sample rate. Change-Id: Ib73c56100a8de2d7b74c455d8f80cda0b59383da
Diffstat (limited to 'scripts/ethosumonitor/sample.json')
-rw-r--r--scripts/ethosumonitor/sample.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/ethosumonitor/sample.json b/scripts/ethosumonitor/sample.json
new file mode 100644
index 0000000..537e95a
--- /dev/null
+++ b/scripts/ethosumonitor/sample.json
@@ -0,0 +1,19 @@
+{
+ "__comment__": [
+ "'host' is the Linux physical address accessible from /dev/mem.",
+ "'device' is the corresponding device address.",
+ "'size' is the size in bytes of the memory region."
+ ],
+ "memoryMap": [
+ {
+ "host": "0x6cf00000",
+ "device": "0x00000000",
+ "size": "0x00400000"
+ },
+ {
+ "host": "0x84000000",
+ "device": "0x64000000",
+ "size": "0x01000000"
+ }
+ ]
+}