mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
4a09eca74a
Signed-off-by: R <rqou@berkeley.edu>
21 lines
382 B
Python
21 lines
382 B
Python
# SPDX-License-Identifier: MIT
|
|
|
|
from m1n1.trace.dart8110 import DART8110Tracer
|
|
|
|
DART8110Tracer = DART8110Tracer._reloadcls()
|
|
|
|
DEVICES = [
|
|
"/arm-io/dart-apr0",
|
|
"/arm-io/dart-apr1",
|
|
]
|
|
|
|
dart_tracers = {}
|
|
|
|
for i in DEVICES:
|
|
p.pmgr_adt_clocks_enable(i)
|
|
tracer = DART8110Tracer(hv, i, verbose=3)
|
|
tracer.start()
|
|
|
|
dart_tracers[i.split("-")[-1]] = tracer
|
|
|
|
del tracer
|