hv/trace_agx{_defer}.py: Enable command dumps

Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
Asahi Lina 2023-07-11 01:47:53 +09:00
parent d437d04dd4
commit 538693a05a
2 changed files with 9 additions and 2 deletions

View file

@ -14,6 +14,12 @@ from m1n1.trace.agx import AGXTracer
AGXTracer = AGXTracer._reloadcls(True)
agx_tracer = AGXTracer(hv, "/arm-io/gfx-asc", verbose=1)
agx_tracer.trace_usermap = False
agx_tracer.trace_kernmap = False
agx_tracer.trace_userva = False
agx_tracer.trace_kernva = False
agx_tracer.redump = False
agx_tracer.cmd_dump_dir = "gfxdumps"
#agx_tracer.encoder_id_filter = lambda i: (i >> 16) == 0xc0de
agx_tracer.start()

View file

@ -13,11 +13,12 @@ agx_tracer = AGXTracer(hv, "/arm-io/gfx-asc", verbose=1)
agx_tracer.pause_after_init = True
agx_tracer.trace_usermap = False
agx_tracer.trace_kernmap = True
agx_tracer.trace_kernmap = False
agx_tracer.trace_userva = False
agx_tracer.trace_kernva = True
agx_tracer.trace_kernva = False
agx_tracer.redump = True
agx_tracer.exclude_context_id = 1
agx_tracer.cmd_dump_dir = "gfxdumps"
agx_tracer.start()