From: John L. <mov...@us...> - 2002-06-15 14:51:27
|
Update of /cvsroot/oprofile/oprofile/pp In directory usw-pr-cvs1:/tmp/cvs-serv32635/pp Modified Files: oprofpp.cpp Log Message: Fix a regression with check_mtime() Index: oprofpp.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/oprofpp.cpp,v retrieving revision 1.76 retrieving revision 1.77 diff -u -d -r1.76 -r1.77 --- oprofpp.cpp 7 Jun 2002 12:58:49 -0000 1.76 +++ oprofpp.cpp 15 Jun 2002 14:51:23 -0000 1.77 @@ -259,7 +259,6 @@ continue; opp_samples_files samples_files(file, options::counter_mask); - samples_files.check_mtime(options::image_file); // the first opened file is treated specially because // user can specify the image name for this sample @@ -267,9 +266,9 @@ // name from the samples file name if (it == filelist.begin()) { op_bfd abfd(options::image_file, options::exclude_symbols); - + samples_files.check_mtime(options::image_file); samples_files.set_start_offset(abfd.get_start_offset()); - + samples.add(samples_files, abfd, options::symbol); } else { string app_name; @@ -277,8 +276,9 @@ app_name = extract_app_name(file, lib_name); op_bfd abfd(demangle_filename(lib_name), options::exclude_symbols); + samples_files.check_mtime(demangle_filename(lib_name)); samples_files.set_start_offset(abfd.get_start_offset()); - + samples.add(samples_files, abfd, options::symbol); } |