mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
hv/trace_agx{_defer}.py: Enable command dumps
Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
d437d04dd4
commit
538693a05a
2 changed files with 9 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue