mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-27 00:40:17 +00:00
m1n1.trace: Add space after CPU number in PrintTracer logs
This makes the logs align properly with other trace logs. Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
parent
6c57d3ded9
commit
8b10324815
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class PrintTracer(Tracer):
|
|||
dev, zone = self.device_addr_tbl.lookup(evt.addr)
|
||||
t = "W" if evt.flags.WRITE else "R"
|
||||
m = "+" if evt.flags.MULTI else " "
|
||||
logline = (f"[cpu{evt.flags.CPU}][0x{evt.pc:016x}] MMIO: {t}.{1<<evt.flags.WIDTH:<2}{m} " +
|
||||
logline = (f"[cpu{evt.flags.CPU}] [0x{evt.pc:016x}] MMIO: {t}.{1<<evt.flags.WIDTH:<2}{m} " +
|
||||
f"0x{evt.addr:x} ({dev}, offset {evt.addr - zone.start:#04x}) = 0x{evt.data:x}")
|
||||
print(logline)
|
||||
if self.log_file:
|
||||
|
|
Loading…
Reference in a new issue