Hello Valgrind team,
Send<https://outlook.manchester.ac.uk/owa/?ae=Item&a=New&t=IPM.Note&cc=MTQuMy4xOTUuMSxlbi1VUywzLEhUTUwsMCww&pspid=_1424120900870_192651510#>

I am a new user of Valgrind, and I so far I know that I can analyze the output 
file like in the example below:
"A single call to the swap function requires 15 instructions: 3 for the 
prologue, 3 for assign to tmp, 4 for copy from * b to * a, 3 for assign from 
tmp and 2 more for the epilogue".

        . void swap(int *a, int *b)
        3,000  {
        3,000      int tmp = *a;
        4,000      *a = *b;
        3,000      *b = tmp;
        2,000  }

That information is great, but is it possible to get the exact instructions 
(mnemonics) that where utilized/executed
per each line like in the example below? This information would be really 
valuable to me.

        . void swap(int *a, int *b)
        3,000  {                    [insta, instb, instc]
        3,000      int tmp = *a;    [insta, instb, instc]
        4,000      *a = *b;         [instd, instd, insta, instc]
        3,000      *b = tmp;        [instc, insta, instb]
        2,000  }                    [instc, insta]

Best Regards,
Raul.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to