From: Philippe E. <ph...@us...> - 2002-04-22 14:26:38
|
Update of /cvsroot/oprofile/oprofile/oprof_report In directory usw-pr-cvs1:/tmp/cvs-serv7448/oprof_report Modified Files: Tag: branch-db-1 oprof_report.cpp Log Message: dae/opd_proc.c: flushing mmaped files was improperly handled oprof_report: get the right samples filename when working with shared lib samples filenames (from a --separate-samples session) Phil Index: oprof_report.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/oprof_report/oprof_report.cpp,v retrieving revision 1.6.2.1 retrieving revision 1.6.2.2 diff -u -d -r1.6.2.1 -r1.6.2.2 --- oprof_report.cpp 21 Apr 2002 04:37:07 -0000 1.6.2.1 +++ oprof_report.cpp 22 Apr 2002 14:26:34 -0000 1.6.2.2 @@ -59,6 +59,8 @@ string temp_filename = strip_filename_suffix(filename); string app_name = extract_app_name(basename(temp_filename), lib_name); + if (lib_name.length()) + app_name = lib_name; /* TODO: on which counter we want to work must be user selectable. * for now let's as it but do not worry me about zero samples |