|
From: Manish M. <mma...@sp...> - 2005-09-29 00:44:24
|
Hello All, Valgrind is really useful tool to monitor any program's behavior in terms of memory handling. I could get an xml report from Valgrind with the useful command-line option --xml=yes . Although I was wondering if there is an xslt specification written so that the XML output can be converted to pretty html output. Thanks Manish |
|
From: Manish M. <mma...@sp...> - 2005-09-29 18:21:32
|
Hello All, I am in process of writing an XSLT for the xml output of Valgrind, I have written templates for most of the xml tags in the output for valgrind command line options like valgrind --xml=yes --demangle=yes --verbose --show-below-main=yes --db- attach=yes myprogram Now I want to know the meaning of most of the tags, like in Error what is tid, unique in Stack there is ip, obj , what does the tag 'auxwhat' mean ? Here is a sample xml output of a c program that has errors http://spike-test-gen.sourceforge.net/1.xml (do view source in the browser) Here is the translated file in XHTML format: http://spike-test-gen.sourceforge.net/val-verbose.xml Here is the translor, the xsl file, to translate from xml to XHTML http://spike-test-gen.sourceforge.net/valgrind.xsl Can any one explain more about what those tags mean. The translation is still in very alpha stage but can be formatted very well int the end. Thanks -Manish |
|
From: Nicholas N. <nj...@cs...> - 2005-09-29 18:42:09
|
On Thu, 29 Sep 2005, Manish Marathe wrote: > Now I want to know the meaning of most of the tags, like in Error what > is tid, unique in Stack there is ip, obj , what does the tag 'auxwhat' > mean ? Please read docs/internals/xml-output.txt in the source code. If anything is unclear, please ask here again. Thanks. Also, I'm curious: why do you want Valgrind's output in HTML? Nick |
|
From: Manish M. <mma...@sp...> - 2005-09-29 19:01:16
|
Well if anyone would like to analyze the results more clearly rather than searching for a particular line of error in the generated text out put then viewing it in a browser with explanation in English would be faster and easier. Also it can be published and viewed through any browser as also xml cannot be viewed in that way. On Thu, 2005-09-29 at 13:41 -0500, Nicholas Nethercote wrote: > On Thu, 29 Sep 2005, Manish Marathe wrote: > > > Now I want to know the meaning of most of the tags, like in Error what > > is tid, unique in Stack there is ip, obj , what does the tag 'auxwhat' > > mean ? > > Please read docs/internals/xml-output.txt in the source code. If anything > is unclear, please ask here again. Thanks. > > Also, I'm curious: why do you want Valgrind's output in HTML? > > Nick > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |
|
From: Manish M. <mma...@sp...> - 2005-09-29 19:07:38
|
Also, if the users would like it I can contribute the XSLT to the Valgrind group and then the generated xml output can have one more line as a reference to this .XSL file, which could be bundled in the package, and then that xml output can be directly viewed in any browser with neat formatting. On Thu, 2005-09-29 at 12:01 -0700, Manish Marathe wrote: > Well if anyone would like to analyze the results more clearly rather > than searching for a particular line of error in the generated text out > put then viewing it in a browser with explanation in English would be > faster and easier. Also it can be published and viewed through any > browser as also xml cannot be viewed in that way. > > On Thu, 2005-09-29 at 13:41 -0500, Nicholas Nethercote wrote: > > On Thu, 29 Sep 2005, Manish Marathe wrote: > > > > > Now I want to know the meaning of most of the tags, like in Error what > > > is tid, unique in Stack there is ip, obj , what does the tag 'auxwhat' > > > mean ? > > > > Please read docs/internals/xml-output.txt in the source code. If anything > > is unclear, please ask here again. Thanks. > > > > Also, I'm curious: why do you want Valgrind's output in HTML? > > > > Nick > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > _______________________________________________ > > Valgrind-users mailing list > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |