diff options
author | Volker Rümelin <vr_qemu@t-online.de> | 2021-01-31 18:34:15 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2021-02-01 10:51:00 +0000 |
commit | c6e93c9d62c47d628d993db482839a4fd38d603f (patch) | |
tree | b73df7d3bdcdb8fa5fc7cba0022c8bd068a644a8 /.patchew.yml | |
parent | 418ed14268f797a5142b60cd557cd598eb548c66 (diff) |
simpletrace: build() missing 2 required positional arguments
Commit 4e66c9ef64 "tracetool: add input filename and line number to
Event" forgot to add a line number and a filename argument at one
build method call site.
Traceback (most recent call last):
File "./scripts/simpletrace.py", line 261, in <module>
run(Formatter())
File "./scripts/simpletrace.py", line 236, in run
process(events, sys.argv[2], analyzer, read_header=read_header)
File "./scripts/simpletrace.py", line 177, in process
dropped_event =
Event.build("Dropped_Event(uint64_t num_events_dropped)")
TypeError: build() missing 2 required positional arguments:
'lineno' and 'filename'
Add the missing arguments.
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210131173415.3392-1-vr_qemu@t-online.de
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to '.patchew.yml')
0 files changed, 0 insertions, 0 deletions