From: John L. <mov...@us...> - 2003-05-19 17:45:47
|
Update of /cvsroot/oprofile/oprofile/libpp In directory sc8-pr-cvs1:/tmp/cvs-serv30736/libpp Modified Files: Tag: pp-interface-branch locate_images.cpp name_storage.h profile_container.cpp profile_container.h Log Message: small naming fix Index: locate_images.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/locate_images.cpp,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -p -d -r1.1.2.3 -r1.1.2.4 --- locate_images.cpp 11 May 2003 18:45:33 -0000 1.1.2.3 +++ locate_images.cpp 19 May 2003 17:45:43 -0000 1.1.2.4 @@ -45,7 +45,8 @@ vector<string> const extra_images::find( } -vector<string> const extra_images::find(extra_images::matcher const & match) const +vector<string> const +extra_images::find(extra_images::matcher const & match) const { vector<string> matches; Index: name_storage.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/name_storage.h,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -u -p -d -r1.1.2.8 -r1.1.2.9 --- name_storage.h 19 May 2003 00:29:04 -0000 1.1.2.8 +++ name_storage.h 19 May 2003 17:45:43 -0000 1.1.2.9 @@ -46,10 +46,10 @@ protected: /// return a reference to the storage used for the given ID stored_name const & processed_name(size_t id) const; private: - typedef std::vector<stored_name> name_map; + typedef std::vector<stored_name> stored_names; typedef std::map<std::string, size_t> id_map; - name_map names; + stored_names names; id_map ids; }; Index: profile_container.cpp =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/profile_container.cpp,v retrieving revision 1.1.2.34 retrieving revision 1.1.2.35 diff -u -p -d -r1.1.2.34 -r1.1.2.35 --- profile_container.cpp 19 May 2003 00:20:22 -0000 1.1.2.34 +++ profile_container.cpp 19 May 2003 17:45:43 -0000 1.1.2.35 @@ -98,7 +98,7 @@ void profile_container::add(profile_t co if (debug_info) { string filename; if (abfd.get_linenr(i, start, filename, - symb_entry.sample.file_loc.linenr)) { + symb_entry.sample.file_loc.linenr)) { symb_entry.sample.file_loc.filename = debug_names.create(filename); } Index: profile_container.h =================================================================== RCS file: /cvsroot/oprofile/oprofile/libpp/Attic/profile_container.h,v retrieving revision 1.1.2.28 retrieving revision 1.1.2.29 diff -u -p -d -r1.1.2.28 -r1.1.2.29 --- profile_container.h 16 May 2003 21:41:09 -0000 1.1.2.28 +++ profile_container.h 19 May 2003 17:45:43 -0000 1.1.2.29 @@ -152,7 +152,7 @@ private: * for special case such image w/o symbol. */ std::string create_artificial_symbol(op_bfd const & abfd, u32 start, - u32 & end, size_t & order); + u32 & end, size_t & order); /// The symbols collected by oprofpp sorted by increased vma, provide /// also a sort order on samples count for each counter. |