opd_anon.h File Reference

#include "op_types.h"
#include "op_list.h"
#include "opd_cookie.h"
#include <sys/types.h>
Include dependency graph for opd_anon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  anon_mapping

Defines

#define VMA_SHIFT   13
#define MAX_IMAGE_NAME_SIZE   20

Functions

struct anon_mappingfind_anon_mapping (struct transient *)
void anon_init (void)

Detailed Description

Anonymous region handling.

Remarks:
Copyright 2005 OProfile authors
Read the file COPYING
Author:
John Levon

Definition in file opd_anon.h.


Define Documentation

#define MAX_IMAGE_NAME_SIZE   20

Definition at line 29 of file opd_anon.h.

Referenced by add_anon_mapping(), and get_anon_maps().

#define VMA_SHIFT   13

Shift useful bits into play for VMA hashing.

Definition at line 26 of file opd_anon.h.

Referenced by sfile_hash().


Function Documentation

void anon_init ( void   ) 

Definition at line 220 of file opd_anon.c.

References HASH_SIZE, hashes, list_init(), and lru.

Referenced by opd_26_init().

Here is the call graph for this function:

Here is the caller graph for this function:

struct anon_mapping* find_anon_mapping ( struct transient  )  [read]

Try to find an anonymous mapping for the given pc/tgid pair.

Definition at line 179 of file opd_anon.c.

References anon_match(), clear_anon_maps(), anon_mapping::end, get_anon_maps(), hash_anon(), hashes, anon_mapping::list, list_add(), list_del(), list_entry, list_for_each, operf_transient::pc, anon_mapping::start, anon_mapping::tgid, operf_transient::tgid, trans, verbprintf, and vmisc.

Referenced by opd_put_ibs_sample(), and opd_put_sample().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1