#include <iostream>#include <sstream>#include "xml_utils.h"#include "format_output.h"#include "arrange_profiles.h"#include "op_bfd.h"#include "cverb.h"
Go to the source code of this file.
Data Structures | |
| class | subclass_info_t |
| class | module_info |
| class | thread_info |
| class | process_info |
| class | process_root_info |
| class | binary_info |
| class | binary_root_info |
Typedefs | |
| typedef growable_vector < subclass_info_t > | subclass_array_t |
| typedef growable_vector < subclass_array_t > | event_subclass_t |
| typedef growable_vector < event_subclass_t > | cpu_subclass_t |
Functions | |
| string | get_counts_string (count_array_t const &counts, size_t begin, size_t end) |
| size_t | get_next_tgid_pclass (size_t start) |
| size_t | get_next_tid_pclass (size_t start) |
| void | build_process_tree () |
Variables | |
| bool | want_xml = false |
| size_t | nr_classes = 0 |
| size_t | nr_cpus = 0 |
| size_t | nr_events = 0 |
| sym_iterator | symbols_begin |
| sym_iterator | symbols_end |
| format_output::xml_formatter * | xml_out |
| xml_utils * | xml_support |
| ostringstream | xml_options |
| static process_root_info | processes_root |
| static binary_root_info | binaries_root |
utility routines for generating XML
Definition in file xml_utils.cpp.
Definition at line 280 of file xml_utils.cpp.
Definition at line 279 of file xml_utils.cpp.
Definition at line 278 of file xml_utils.cpp.
| void build_process_tree | ( | ) |
Definition at line 994 of file xml_utils.cpp.
References process_root_info::add_process(), process_info::add_thread(), classes, get_next_tgid_pclass(), get_next_tid_pclass(), nr_classes, and profile_classes::v.

| string get_counts_string | ( | count_array_t const & | counts, | |
| size_t | begin, | |||
| size_t | end | |||
| ) |
Definition at line 346 of file xml_utils.cpp.
References nr_cpus.
| size_t get_next_tgid_pclass | ( | size_t | start | ) |
Definition at line 968 of file xml_utils.cpp.
References classes, nr_classes, and profile_classes::v.
Referenced by build_process_tree().

| size_t get_next_tid_pclass | ( | size_t | start | ) |
Definition at line 979 of file xml_utils.cpp.
References classes, nr_classes, and profile_classes::v.
Referenced by build_process_tree().

binary_root_info binaries_root [static] |
Definition at line 527 of file xml_utils.cpp.
| size_t nr_classes = 0 |
Definition at line 24 of file xml_utils.cpp.
Referenced by binary_info::add_module_symbol(), binary_info::build_binary(), build_process_tree(), get_next_tgid_pclass(), get_next_tid_pclass(), and xml_utils::xml_utils().
| size_t nr_cpus = 0 |
Definition at line 25 of file xml_utils.cpp.
Referenced by get_counts_string(), xml_utils::set_nr_cpus(), and xml_utils::xml_utils().
| size_t nr_events = 0 |
Definition at line 26 of file xml_utils.cpp.
Referenced by do_test(), and xml_utils::set_nr_events().
process_root_info processes_root [static] |
Definition at line 526 of file xml_utils.cpp.
Definition at line 27 of file xml_utils.cpp.
Referenced by binary_root_info::summarize_binaries(), process_root_info::summarize_processes(), and xml_utils::xml_utils().
Definition at line 28 of file xml_utils.cpp.
Referenced by process_root_info::set_process_end(), binary_root_info::summarize_binaries(), process_root_info::summarize_processes(), and xml_utils::xml_utils().
| bool want_xml = false |
Definition at line 22 of file xml_utils.cpp.
Referenced by arrange_profiles(), describe_cpu(), describe_header(), main(), and operator<().
| ostringstream xml_options |
Definition at line 34 of file xml_utils.cpp.
Referenced by xml_utils::add_option().
Definition at line 30 of file xml_utils.cpp.
Definition at line 31 of file xml_utils.cpp.
1.6.1