Public Member Functions | |
binary_info () | |
void | output (ostream &out) |
binary_info * | build_binary (string const &n) |
void | add_module_symbol (string const &module, string const &app, sym_iterator it) |
void | close_binary (sym_iterator it) |
void | dump () |
void | build_module (string const &n, sym_iterator it, size_t l, size_t h) |
string | get_name () |
void | set_lo (size_t l) |
void | set_hi (size_t h) |
count_array_t const & | get_summary () |
void | set_begin (sym_iterator b) |
void | set_end (sym_iterator e) |
void | add_to_summary (count_array_t const &counts) |
bool | is_closed (string const &n) |
Data Fields | |
unsigned long | addr |
unsigned long | size |
unsigned long | flags |
long | usecount |
Protected Member Functions | |
void | output_summary (ostream &out) |
void | output_symbols (ostream &out, bool is_module) |
Protected Attributes | |
string | name |
sym_iterator | begin |
sym_iterator | end |
count_array_t | summary |
size_t | lo |
size_t | hi |
Private Attributes | |
size_t | nr_modules |
growable_vector< module_info > | my_modules |
Definition at line 497 of file xml_utils.cpp.
binary_info::binary_info | ( | ) | [inline] |
Definition at line 499 of file xml_utils.cpp.
References nr_modules.
void binary_info::add_module_symbol | ( | string const & | module, | |
string const & | app, | |||
sym_iterator | it | |||
) |
Definition at line 624 of file xml_utils.cpp.
References module_info::add_to_summary(), my_modules, nr_classes, nr_modules, module_info::set_begin(), and module_info::set_end().
Referenced by binary_root_info::summarize_binaries().
void module_info::add_to_summary | ( | count_array_t const & | counts | ) | [inherited] |
Definition at line 540 of file xml_utils.cpp.
References module_info::hi, and module_info::lo.
Referenced by thread_info::add_module_symbol(), add_module_symbol(), thread_info::summarize(), and process_info::summarize().
binary_info * binary_info::build_binary | ( | string const & | n | ) |
Definition at line 763 of file xml_utils.cpp.
References module_info::hi, module_info::lo, and nr_classes.
void module_info::build_module | ( | string const & | n, | |
sym_iterator | it, | |||
size_t | l, | |||
size_t | h | |||
) | [inherited] |
Definition at line 531 of file xml_utils.cpp.
References module_info::hi, and module_info::lo.
Referenced by thread_info::add_module_symbol().
void binary_info::close_binary | ( | sym_iterator | it | ) |
Definition at line 602 of file xml_utils.cpp.
References my_modules, nr_modules, and module_info::set_end().
Referenced by binary_root_info::summarize_binaries().
void binary_info::dump | ( | ) |
Reimplemented from module_info.
Definition at line 612 of file xml_utils.cpp.
References cverb, my_modules, nr_modules, and vxml.
string module_info::get_name | ( | ) | [inline, inherited] |
Definition at line 419 of file xml_utils.cpp.
count_array_t const& module_info::get_summary | ( | ) | [inline, inherited] |
Definition at line 422 of file xml_utils.cpp.
Referenced by thread_info::summarize(), and process_info::summarize().
bool module_info::is_closed | ( | string const & | n | ) | [inherited] |
Definition at line 561 of file xml_utils.cpp.
Referenced by thread_info::add_modules().
void binary_info::output | ( | ostream & | out | ) |
Reimplemented from module_info.
Definition at line 772 of file xml_utils.cpp.
References BINARY, close_element(), init_attr(), my_modules, NAME, NONE, nr_modules, open_element(), module_info::output_summary(), and module_info::output_symbols().
void module_info::output_summary | ( | ostream & | out | ) | [protected, inherited] |
Definition at line 585 of file xml_utils.cpp.
References module_info::hi, module_info::lo, and xml_utils::output_summary_data().
Referenced by process_info::output(), thread_info::output(), output(), and module_info::output().
void module_info::output_symbols | ( | ostream & | out, | |
bool | is_module | |||
) | [protected, inherited] |
Definition at line 592 of file xml_utils.cpp.
References module_info::hi, module_info::lo, and format_output::xml_formatter::output_symbol().
Referenced by output(), and module_info::output().
void module_info::set_begin | ( | sym_iterator | b | ) | [inherited] |
Definition at line 547 of file xml_utils.cpp.
Referenced by add_module_symbol().
void module_info::set_end | ( | sym_iterator | e | ) | [inherited] |
Reimplemented in thread_info, and process_info.
Definition at line 554 of file xml_utils.cpp.
Referenced by add_module_symbol(), thread_info::add_modules(), and close_binary().
void module_info::set_hi | ( | size_t | h | ) | [inline, inherited] |
Definition at line 421 of file xml_utils.cpp.
References module_info::hi.
void module_info::set_lo | ( | size_t | l | ) | [inline, inherited] |
Definition at line 420 of file xml_utils.cpp.
References module_info::lo.
unsigned long module_info::addr [inherited] |
Definition at line 170 of file p_module.h.
Referenced by opd_drop_module_sample().
sym_iterator module_info::begin [protected, inherited] |
Definition at line 433 of file xml_utils.cpp.
sym_iterator module_info::end [protected, inherited] |
Definition at line 434 of file xml_utils.cpp.
unsigned long module_info::flags [inherited] |
Definition at line 172 of file p_module.h.
size_t module_info::hi [protected, inherited] |
Definition at line 441 of file xml_utils.cpp.
Referenced by thread_info::add_module_symbol(), thread_info::add_modules(), module_info::add_to_summary(), build_binary(), module_info::build_module(), process_info::build_process(), thread_info::build_thread(), module_info::dump(), module_info::module_info(), module_info::output_summary(), module_info::output_symbols(), and module_info::set_hi().
size_t module_info::lo [protected, inherited] |
Definition at line 440 of file xml_utils.cpp.
Referenced by thread_info::add_module_symbol(), thread_info::add_modules(), module_info::add_to_summary(), build_binary(), module_info::build_module(), process_info::build_process(), thread_info::build_thread(), module_info::dump(), module_info::module_info(), module_info::output_summary(), module_info::output_symbols(), and module_info::set_lo().
growable_vector<module_info> binary_info::my_modules [private] |
Definition at line 509 of file xml_utils.cpp.
Referenced by add_module_symbol(), close_binary(), dump(), and output().
string module_info::name [protected, inherited] |
Definition at line 432 of file xml_utils.cpp.
size_t binary_info::nr_modules [private] |
Definition at line 507 of file xml_utils.cpp.
Referenced by add_module_symbol(), binary_info(), close_binary(), dump(), and output().
unsigned long module_info::size [inherited] |
Definition at line 171 of file p_module.h.
Referenced by opd_drop_module_sample().
count_array_t module_info::summary [protected, inherited] |
Definition at line 437 of file xml_utils.cpp.
long module_info::usecount [inherited] |
Definition at line 173 of file p_module.h.