Calculates number of times that each address in range from addr to addr+size (not included) appears in the run trace data. Parameter profile points to array of size elements that receives profile data. Returns 0 on success or when run trace data is unavailable, and -1 on error. Function can be rather slow if run trace data is long.
int Getruntraceprofile(ulong addr,ulong size,ulong *profile);
Parameters:
addr - base address of the profiled code;
size - size of the profiled code;
profile - pointer to array of size doublewords that receives profile data.
See also: Findhittrace, Runtracesize, Findprevruntraceip, Findnextruntraceip, Getruntraceregisters