*1.* I need to find out the (dynamic) (assembly) instructions and count
against my C program. The output I expect is similar to the following
mov 200
pop 130
jne 48
I tried valgrind --tool=callgrind --cache-sim=yes --dump-instr=yes <my
program name> and viewed it using Kcahcegrind. I did find the instruction
types but count info was no where. I would like to filter the output to
discard the instructions which are due to system libraries etc.
*2. * I need to find out the address and the size of memory allocated
using malloc in some specific functions and parts of my program. I did
valgrind heap profiling but it gives the whole heap size. Any suggestion ?
* 3.* I want to know which memory locations are accessed by a function of
my program. In other words I need to find out the memory access pattern of
my program. Will counting Loads help? if yes then how can I count Loads ?
--
View this message in context:
http://valgrind.10908.n7.nabble.com/Instruction-types-in-valgrind-tp44512p44748.html
Sent from the Valgrind - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users