symbol.h File Reference

#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.

Data Structures

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
struct  diff_symbol

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

Definition in file symbol.h.


Typedef Documentation

typedef std::list<cg_symbol> cg_collection_objs

a collection of sorted callgraph symbol objects

Definition at line 134 of file symbol.h.

for storing sample counts

Definition at line 27 of file symbol.h.

typedef growable_vector<double> diff_array_t

for storing diff ages

Definition at line 137 of file symbol.h.

typedef std::vector<diff_symbol> diff_collection

a collection of diffed symbols

Definition at line 152 of file symbol.h.

typedef std::vector<symbol_entry const *> symbol_collection

a collection of sorted symbols

Definition at line 108 of file symbol.h.


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 8 Nov 2012 for Oprofile by  doxygen 1.6.1