procmaps Class Reference

A simple API to access /proc/self/maps info. More...

#include <procmaps.h>

List of all members.

Classes

struct  Entry

Public Types

typedef std::vector< Entry,
boost::pool_allocator< Entry > > 
procmaps_t
typedef procmaps_t::const_iterator const_iterator

Public Member Functions

 procmaps (size_t entries=1024)
const EntrygetEntry (const void *address, bool tryReloadMaps=true)
const_iterator begin () const
const_iterator end () const
void loadMaps (bool dump=false)
 load/refresh info from /proc/self/map

Static Public Member Functions

static const procmaps_t & pmaps ()
 access underlying entries

Detailed Description

A simple API to access /proc/self/maps info.

Author:
Paolo Calafiura - LBNL, ATLAS Collaboration
Id
procmaps.h,v 1.3 2009-04-01 08:23:32 binet Exp

Member Function Documentation

const procmaps::Entry * procmaps::getEntry ( const void *  address,
bool  tryReloadMaps = true 
)

main entry point: get info for the page range containing address by default tries to reload /proc/self/maps when address is not found


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1