Improve file descriptor xml output, add fd and path elements
commit09b5ad416c5ddf1375f269f6ea2253e90fa08f01
authorAlexandra Hájková <ahajkova@redhat.com>
Thu, 18 Apr 2024 09:21:49 +0000 (18 05:21 -0400)
committerMark Wielaard <mark@klomp.org>
Fri, 19 Apr 2024 00:04:21 +0000 (19 02:04 +0200)
tree9293457b6e37140694dfbc200d6e1910e0847812
parent34e9e4957ada1ba0a51266faee23f61724935fcb
Improve file descriptor xml output, add fd and path elements

Add needs_xml_output to none tool so it can also output xml when
--track-fds enabled.

Use xml protocolversion 5 when clo_track_fds is enabled

Split OpenFD pathname and description. Add description when a file
descriptor is closed so it can be used in a future error. On error
print <fd> element and (if known) a <path> element.

Add docs/internals/xml-output-protocol5.txt.

https://bugs.kde.org/show_bug.cgi?id=328563

Co-Authored-By: Mark Wielaard <mark@klomp.org>
NEWS
coregrind/m_libcprint.c
coregrind/m_syswrap/syswrap-generic.c
docs/internals/xml-output-protocol5.txt [new file with mode: 0644]
none/nl_main.c