From 91eb81000a7d33c896825dca7f2ad1c97082f0c9 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 16 Sep 2022 01:45:15 +0800 Subject: [PATCH] add some breadcrumbs --- xtask/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 718c6de84..7c6d01695 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -542,6 +542,11 @@ fn main() -> Result<(), Box> { Some("perf-image") => { // note: to use this image, you need to load a version of the SOC that has the performance counters built in. // this can be generated using the command `python3 .\betrusted_soc.py -e .\dummy.nky --perfcounter` in the betrusted-soc repo. + // + // to read out performance monitoring data, use the `usb_update.py` script as follows: + // ` python3 .\..\usb_update.py --dump v2p.txt --dump-file .\ring_aes_8.bin` + // where the `v2p.txt` file contains a virtual to physical mapping that is generated by the `perflib` framework and + // formatted in a fashion that can be automatically extracted by the usb_update script. let mut args = env::args(); args.nth(1); let mut pkgs = hw_pkgs.to_vec();