mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-11 10:07:05 +00:00
m1n1.hv: fix argument names in HV.trace_range()
event_mmio() uses 'start' kwarg since 'zone' conflicts with add_tracer()'s argument of the same name. Fixes TypeError: HV.add_tracer() got multiple values for argument 'zone' Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
ad659daa6d
commit
d5ceafe41d
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class HV(Reloadable):
|
|||
self.add_tracer(zone, "PrintTracer", mode,
|
||||
self.print_tracer.event_mmio if read else None,
|
||||
self.print_tracer.event_mmio if write else None,
|
||||
zone=zone,
|
||||
start=zone,
|
||||
name=name)
|
||||
else:
|
||||
self.del_tracer(zone, "PrintTracer")
|
||||
|
|
Loading…
Reference in a new issue