qemu-patch-raspberry4/scripts/tracetool
Stefan Hajnoczi 5069b56189 tracetool: prefix parse errors with line numbers
Include the file line number in the message that is printed when
trace-events parse errors are raised.

[Use enumerate(fobj, 1) to avoid having to increment a 0-based index
later, as suggested by Eric Blake.
--Stefan]

Suggested-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20180110202553.31889-2-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-01-29 10:34:55 +00:00
..
backend trace: add TRACE_<event>_BACKEND_DSTATE() 2017-08-01 12:07:48 +01:00
format trace: use static event ID mapping in simpletrace.stp 2017-08-15 12:50:29 +01:00
__init__.py tracetool: prefix parse errors with line numbers 2018-01-29 10:34:55 +00:00
transform.py trace: Add 'vcpu' event property to trace guest vCPU 2016-03-01 13:27:10 +00:00
vcpu.py trace: Add 'vcpu' event property to trace guest vCPU 2016-03-01 13:27:10 +00:00