From e56b6e4bd75c7ccec69f20b17c1e2d48b7c0892c Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Thu, 29 Sep 2022 11:52:22 +0200 Subject: 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 --- scripts/ethosumonitor/sample.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/ethosumonitor/sample.json (limited to 'scripts/ethosumonitor/sample.json') 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" + } + ] +} -- cgit v1.2.1