mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-30 10:10:17 +00:00
42b7adad06
Signed-off-by: Hector Martin <marcan@marcan.st>
27 lines
510 B
Python
27 lines
510 B
Python
# SPDX-License-Identifier: MIT
|
|
|
|
from m1n1.trace.dart import DARTTracer
|
|
|
|
DARTTracer = DARTTracer._reloadcls()
|
|
|
|
DEVICES = [
|
|
"/arm-io/dart-pmp",
|
|
"/arm-io/dart-sep",
|
|
"/arm-io/dart-sio",
|
|
"/arm-io/dart-usb1",
|
|
"/arm-io/dart-disp0",
|
|
"/arm-io/dart-dcp",
|
|
"/arm-io/dart-dispext0",
|
|
"/arm-io/dart-dcpext",
|
|
"/arm-io/dart-scaler",
|
|
]
|
|
|
|
dart_tracers = {}
|
|
|
|
for i in DEVICES:
|
|
tracer = DARTTracer(hv, i, verbose=3)
|
|
tracer.start()
|
|
|
|
dart_tracers[i.split("-")[-1]] = tracer
|
|
|
|
del tracer
|