|
From: Sanjay H A <san...@ly...> - 2008-02-21 09:53:58
|
Hello Sir <br> <br><br><br><br><br><br><blockquote style='border-top: 1px solid rgb(204, 204, 204); margin: 0.8ex 0pt 0pt 0pt; padding-bottom: 1ex;'> <br>---------[ Received Mail Content ]----------<br> <br> <b>Subject : </b>Re: [Valgrind-users] Obtaining Basic block Trace of the application<br> <br> <b>Date : </b>Thu, 21 Feb 2008 17:05:02 +1100 (EST)<br> <br> <b>From : </b>Nicholas Nethercote <nj...@cs...><br> <br> <b>To : </b>Sanjay H A <san...@ly...><br> <br> <b>Cc : </b>val...@li...<br> <br><br> <br>On Wed, 20 Feb 2008, Sanjay H A wrote: <br><br> <br><br>> I am new to Valgrind. <br><br>> I want to obtain Basic Block Trace of the application. <br><br>> How to do that ( I installed Valgrind on x86_64 platform). <br><br>> Can anyone point me to the document which says how to do that. <br><br> <br><br>valgrind --tool=lackey --trace-superblocks=yes <your-program> <br> <br>Thanx for the info. It worked, but lackey tool will run forever after the complition of the our program. ( I killed forcebaly) <br> <br>Command:: ./valgrind-3.3.0/bin/valgrind --tool=lackey --trace-superblocks=yes ./loop 5 <br> <br>Note loop is my C program <br> <br>If I use --basic-counts , it terminates properly. If I use --trace-superblocks, then it runs forever. Any solution for this <br> <br><br> <br><br>> Also I want to instrument some statements to application. will valgrind <br><br>> comes handy for that? <br><br> <br><br>Most likely. <br> <br>Can you point me to any document or example to do instrumentation for the binary <br> <br>Thanx <br>Regards <br>Sanjay <br> <br><br> <br><br>Nick <br><br></BLOCKQUOTE> |