From: John L. <mov...@us...> - 2005-03-25 22:43:21
|
Update of /cvsroot/oprofile/oprofile/pp In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17816/pp Modified Files: common_option.cpp opgprof.cpp Log Message: style fixes, whitespace only Index: common_option.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/common_option.cpp,v retrieving revision 1.15 retrieving revision 1.16 diff -u -p -d -r1.15 -r1.16 --- common_option.cpp 17 Nov 2004 09:57:07 -0000 1.15 +++ common_option.cpp 25 Mar 2005 22:43:09 -0000 1.16 @@ -37,7 +37,7 @@ popt::option common_options_array[] = { // FIXME help string for verbose level "verbose output", "all,debug,bfd,level1,sfile,stats"), popt::option(image_path, "image-path", 'p', - "comma-separated path to search missing binaries","path"), + "comma-separated path to search missing binaries", "path"), }; Index: opgprof.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/pp/opgprof.cpp,v retrieving revision 1.21 retrieving revision 1.22 diff -u -p -d -r1.21 -r1.22 --- opgprof.cpp 18 Nov 2004 13:43:15 -0000 1.21 +++ opgprof.cpp 25 Mar 2005 22:43:09 -0000 1.22 @@ -125,7 +125,7 @@ void output_cg(FILE * fp, op_bfd const & void output_gprof(op_bfd const & abfd, profile_container const & samples, profile_t const & cg_db, string const & gmon_filename) { - static gmon_hdr hdr = { { 'g', 'm', 'o', 'n' }, GMON_VERSION, {0,0,0,},}; + static gmon_hdr hdr = { { 'g', 'm', 'o', 'n' }, GMON_VERSION, {0, 0, 0 } }; bfd_vma low_pc; bfd_vma high_pc; @@ -159,7 +159,7 @@ void output_gprof(op_bfd const & abfd, p FILE * fp = op_open_file(gmon_filename.c_str(), "w"); - op_write_file(fp,&hdr, sizeof(gmon_hdr)); + op_write_file(fp, &hdr, sizeof(gmon_hdr)); op_write_u8(fp, GMON_TAG_TIME_HIST); op_write_vma(fp, abfd, low_pc); |