diff options
| author | magh <magh@maghmogh.com> | 2023-03-06 18:44:55 -0600 |
|---|---|---|
| committer | magh <magh@maghmogh.com> | 2023-03-06 18:44:55 -0600 |
| commit | e80d9d8871b325a04b18f90a9ea4bb7fd148fb25 (patch) | |
| tree | 79dbdb8506b7ff1e92549188d1b94cfc0b3503ae /tools/proxyclient/hv/trace_all.py | |
Diffstat (limited to 'tools/proxyclient/hv/trace_all.py')
| -rw-r--r-- | tools/proxyclient/hv/trace_all.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/proxyclient/hv/trace_all.py b/tools/proxyclient/hv/trace_all.py new file mode 100644 index 0000000..392dd21 --- /dev/null +++ b/tools/proxyclient/hv/trace_all.py @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: MIT + +from m1n1.utils import irange + +# Map the entire MMIO range as traceable +for r in hv.adt["/arm-io"].ranges: + trace_range(irange(r.parent_addr, r.size), mode=TraceMode.ASYNC) + +# Skip some noisy devices +try: + trace_device("/arm-io/usb-drd0", False) +except KeyError: + pass +try: + trace_device("/arm-io/usb-drd1", False) +except KeyError: + pass +try: + trace_device("/arm-io/uart2", False) +except KeyError: + pass +trace_device("/arm-io/error-handler", False) +trace_device("/arm-io/aic", False) +trace_device("/arm-io/spi1", False) +trace_device("/arm-io/pmgr", False) |
