Update of /cvsroot/oprofile/oprofile/libpp In directory sc8-pr-cvs1:/tmp/cvs-serv6487/libpp Modified Files: Tag: pp-interface-branch format_output.cpp format_output.h opp_symbol.h outsymbflag.h partition_files.cpp profile_container.h Log Message: typo fixes, compile fix Index: format_output.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/format_output.cpp,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -d -r1.1.2.6 -r1.1.2.7 --- format_output.cpp 24 Apr 2003 17:41:29 -0000 1.1.2.6 +++ format_output.cpp 25 Apr 2003 00:15:20 -0000 1.1.2.7 @@ -247,7 +247,7 @@ void formatter::do_output(ostream & out, string const & name, sample_entry const & sample, - bool hide_imutable_field) + bool hide_immutable_field) { output_header(out); @@ -257,7 +257,7 @@ for (size_t i = 1 ; temp_flag != 0 ; i <<= 1) { outsymbflag fl = static_cast<outsymbflag>(i); if (flags & fl) { - if (hide_imutable_field && (fl & osf_imutable_field)) { + if (hide_immutable_field && (fl & osf_immutable_field)) { field_description const & field(format_map[fl]); padding += field.width; } else { Index: format_output.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/format_output.h,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- format_output.h 24 Apr 2003 17:41:29 -0000 1.1.2.5 +++ format_output.h 25 Apr 2003 00:15:20 -0000 1.1.2.6 @@ -110,7 +110,7 @@ /// actually do output void do_output(std::ostream & out, std::string const & name, - sample_entry const & sample, bool hide_imutable_field); + sample_entry const & sample, bool hide_immutable_field); /// output details for the symbol void output_details(std::ostream & out, symbol_entry const * symb); Index: opp_symbol.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/opp_symbol.h,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -u -d -r1.1.2.2 -r1.1.2.3 --- opp_symbol.h 21 Apr 2003 18:37:04 -0000 1.1.2.2 +++ opp_symbol.h 25 Apr 2003 00:15:20 -0000 1.1.2.3 @@ -68,15 +68,14 @@ /** - * Taking two opp_symbol* input iterator return true if we need to format - * vma as 64 bits value else false. + * Taking two symbol_entry input iterators return true if we need to format + * VMA as 64 bits value else false. */ -template <class InputIterator> -bool vma64_p(InputIterator first_symbol, InputIterator last_symbol) +template <class input_iterator> +bool vma64_p(input_iterator first_symbol, input_iterator last_symbol) { - if (sizeof(bfd_vma) == 4) { + if (sizeof(bfd_vma) == 4) return false; - } // slow way, check all address for ( ; first_symbol != last_symbol ; ++first_symbol) { Index: outsymbflag.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/outsymbflag.h,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -d -r1.1.2.3 -r1.1.2.4 --- outsymbflag.h 21 Apr 2003 18:37:04 -0000 1.1.2.3 +++ outsymbflag.h 25 Apr 2003 00:15:20 -0000 1.1.2.4 @@ -42,10 +42,10 @@ osf_app_name = 1 << 12, // owning application osf_short_app_name = 1 << 13, // basename of owning application - /// These fields are considered imutable when showing details for one + /// These fields are considered immutable when showing details for one /// symbol, we show them only when outputting the symbol itself but /// we avoid to display them during details output - osf_imutable_field = osf_symb_name + osf_image_name + + osf_immutable_field = osf_symb_name + osf_image_name + osf_short_image_name + osf_app_name + osf_short_app_name }; Index: partition_files.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/partition_files.cpp,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- partition_files.cpp 24 Apr 2003 18:06:08 -0000 1.1.2.1 +++ partition_files.cpp 25 Apr 2003 00:15:20 -0000 1.1.2.2 @@ -10,6 +10,7 @@ #include <set> #include <algorithm> +#include <iterator> #include "cverb.h" #include "partition_files.h" Index: profile_container.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/profile_container.h,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -u -d -r1.1.2.6 -r1.1.2.7 --- profile_container.h 24 Apr 2003 17:41:30 -0000 1.1.2.6 +++ profile_container.h 25 Apr 2003 00:15:20 -0000 1.1.2.7 @@ -32,12 +32,15 @@ * Build an object to store information on samples. All parameters * acts as hint for what you will request after recording samples and * so on allow optimizations during recording the information. - * @param add_zero_samples_symbols must we add to the symbol container + * + * @param add_zero_samples_symbols Must we add to the symbol container * symbols with zero samples count - * @param flags optimize hint to add samples. The flags is a promise - * on what will be required as information in future. Avoid to pass - * osf_linenr_info greatly improve performance of add. - * @param need details true if we need to record all samples or to + * + * @param flags Optimize hint to add samples. The flags is a promise + * of what will be required as information in future. Avoiding the + * lookup of line number etc. greatly improves performance. + * + * @param need_details true if we need to record all samples or to * to record them at symbol level. This is an optimization hint */ profile_container(bool add_zero_samples_symbols, outsymbflag flags, @@ -47,6 +50,7 @@ /** * add() - record symbols/samples in the underlined container + * * @param profile the samples files container * @param abfd the associated bfd object * @param app_name the owning application name of sample |