binary_info Class Reference

Inheritance diagram for binary_info:
Inheritance graph
[legend]
Collaboration diagram for binary_info:
Collaboration graph
[legend]

Public Member Functions

 binary_info ()
void output (ostream &out)
binary_infobuild_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_infomy_modules

Detailed Description

Definition at line 497 of file xml_utils.cpp.


Constructor & Destructor Documentation

binary_info::binary_info (  )  [inline]

Definition at line 499 of file xml_utils.cpp.

References nr_modules.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

bool module_info::is_closed ( string const &  n  )  [inherited]

Definition at line 561 of file xml_utils.cpp.

Referenced by thread_info::add_modules().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void module_info::set_begin ( sym_iterator  b  )  [inherited]

Definition at line 547 of file xml_utils.cpp.

Referenced by add_module_symbol().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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.


Field Documentation

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]
size_t module_info::lo [protected, inherited]

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.


The documentation for this class was generated from the following file:

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1