From: John L. <mov...@us...> - 2003-09-14 23:50:02
|
Update of /cvsroot/oprofile/oprofile/pp In directory sc8-pr-cvs1:/tmp/cvs-serv27874/pp Modified Files: populate.cpp Log Message: more arrange_profiles commentary Index: populate.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/populate.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -p -d -r1.1 -r1.2 --- populate.cpp 14 Sep 2003 20:33:22 -0000 1.1 +++ populate.cpp 14 Sep 2003 23:49:58 -0000 1.2 @@ -54,6 +54,10 @@ populate_for_image(profile_container & s list<image_set>::const_iterator const end = ip.groups[i].end(); + // we can only share a profile_t amongst each + // image_set's files - this is because it->app_image + // changes, and the .add() would mis-attribute + // to the wrong app_image otherwise for (; it != end; ++it) { profile_t profile; populate_from_files(profile, it->files, offset); |