trace: make the 'log' backend timestamp configurable
commit418ed14268f797a5142b60cd557cd598eb548c66
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 25 Jan 2021 11:35:07 +0000 (25 11:35 +0000)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 1 Feb 2021 10:50:55 +0000 (1 10:50 +0000)
treed60cbfea4d6720dc04108e5ee8f4147553785dbf
parent651d588f030097c4950331f8fffb9d442f89ba11
trace: make the 'log' backend timestamp configurable

Timestamps in tracing output can be distracting. Make it possible to
control tid/timestamp printing with -msg timestamp=on|off. The default
is no tid/timestamps. Previously they were always printed.

Suggested-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210125113507.224287-3-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
docs/devel/tracing.rst
scripts/tracetool/backend/log.py