From: Philippe E. <ph...@us...> - 2001-12-01 03:56:10
|
Update of /cvsroot/oprofile/oprofile/pp In directory usw-pr-cvs1:/tmp/cvs-serv22034/oprofile/pp Modified Files: op_time.cpp oprofpp.h oprofpp_util.cpp Log Message: doc: op_time documentation - please John can you review the wording of op_time section in .sgml Index: op_time.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/op_time.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- op_time.cpp 2001/11/30 23:43:04 1.1 +++ op_time.cpp 2001/12/01 03:56:06 1.2 @@ -42,8 +42,6 @@ { "verbose", 'V', POPT_ARG_NONE, &verbose, 0, "verbose output", NULL, }, { "use-counter", 'c', POPT_ARG_INT, &ctr, 0, "use counter", "counter nr", }, - { "backup-number", 'b', POPT_ARG_INT, &backup_number, 0, - "suffixe number of sample file to use", "backup number", }, { "reverse", 'r', POPT_ARG_NONE, &reverse_sort, 0, "reverse sort order", NULL, }, { "version", 'v', POPT_ARG_NONE, &showvers, 0, "show version", NULL, }, @@ -118,8 +116,6 @@ std::ostringstream s; s << filename << "#" << ctr; - if (backup_number != -1) - s << "-" << backup_number; ifstream in(s.str().c_str()); @@ -153,8 +149,8 @@ string filename = strip_filename_suffix(*it); - // After stripping the # suffix multiples identicals - // filenames can exist. + // After stripping the # suffix multiples identicals filenames + // can exist. if (find(file_list.begin(), file_list.end(), filename) == file_list.end()) file_list.push_back(filename); Index: oprofpp.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/oprofpp.h,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- oprofpp.h 2001/11/30 23:38:03 1.27 +++ oprofpp.h 2001/12/01 03:56:07 1.28 @@ -76,7 +76,6 @@ extern const char *imagefile; extern int list_all_symbols_details; extern int ctr; -extern int backup_number; //--------------------------------------------------------------------------- // A simple container of counter. Index: oprofpp_util.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/oprofpp_util.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- oprofpp_util.cpp 2001/11/30 23:38:03 1.6 +++ oprofpp_util.cpp 2001/12/01 03:56:07 1.7 @@ -33,7 +33,7 @@ static uint nr_samples; /* if != -1 appended to samples files with "-%d" format */ -int backup_number = -1; +static int backup_number = -1; /** * remangle - convert a filename into the related sample file name |