Question

Actually I know that there is Test::Valgrind::Parser::XML perl module. But I have no idea how to use it: If anyone can provide documentation it would be great.

Was it helpful?

Solution

The valgrind docs show that valgrind accepts a --xml=yes tag to output messages as XML. The format of the XML is specified in the docs/internals/xml-output-protocol4.txt inside the source code repository.

With that, you can use any XML parser and do whatever you want with the data.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top