symbol.h File Reference

Symbol containers. More...

#include "config.h"
#include "name_storage.h"
#include "growable_vector.h"
#include "sparse_array.h"
#include "format_flags.h"
#include "op_types.h"
#include <bfd.h>
#include <stdint.h>
#include <list>
Include dependency graph for symbol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  file_location
 A simple container for a fileno:linenr location. More...
struct  sample_entry
 associate vma address with a file location and a samples count More...
class  symbol_entry
 associate a symbol with a file location, samples count and vma address More...
class  cg_symbol
 The public data for call-graph symbols. More...
struct  diff_symbol
 Data for a diffed symbol. More...

Typedefs

typedef sparse_array< u32,
count_type
count_array_t
 for storing sample counts
typedef std::vector
< symbol_entry const * > 
symbol_collection
 a collection of sorted symbols
typedef std::list< cg_symbolcg_collection_objs
 a collection of sorted callgraph symbol objects
typedef growable_vector< double > diff_array_t
 for storing diff ages
typedef std::vector< diff_symboldiff_collection
 a collection of diffed symbols

Functions

bool has_sample_counts (count_array_t const &counts, size_t lo, size_t hi)
std::string const & get_image_name (image_name_id id, image_name_storage::image_name_type type, extra_images const &extra)

Detailed Description

Symbol containers.

Remarks:
Copyright 2002, 2004 OProfile authors
Read the file COPYING
Author:
Philippe Elie
John Levon

Typedef Documentation

typedef std::list<cg_symbol> cg_collection_objs

a collection of sorted callgraph symbol objects

for storing sample counts

typedef growable_vector<double> diff_array_t

for storing diff ages

typedef std::vector<diff_symbol> diff_collection

a collection of diffed symbols

typedef std::vector<symbol_entry const *> symbol_collection

a collection of sorted symbols


Function Documentation

std::string const& get_image_name ( image_name_id  id,
image_name_storage::image_name_type  type,
extra_images const &  extra 
)
bool has_sample_counts ( count_array_t const &  counts,
size_t  lo,
size_t  hi 
)

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1