Lilia Ghachem <[EMAIL PROTECTED]> writes: > I have a question about the number of histogram records in the profile > data file: gmon.out file : Can we have more than ONE histogram record? > in all the tests I made, I found just 1 ... > So If it's not the case, where these histogram records are stored? > (list, vector..?)
The gprof program is only prepared to see a single histogram record in a gmon.out file. So I think it is fairly safe to assume that a gmon.out file will have only one histogram. More precisely, gprof can use more than histogram, but they must cover the same range of the program--same low PC, high PC, number of bins, and profiling rate. Support multiple histograms over the same executable space is intended to let you generate multiple gmon.out files from a single executable and combine them in a single gprof run. Ian _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils