|
From: Qtest <vit...@gm...> - 2013-03-28 19:43:47
|
*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.
|