opd_mangling.c File Reference

#include <sys/types.h>
#include "opd_mangling.h"
#include "opd_kernel.h"
#include "opd_cookie.h"
#include "opd_sfile.h"
#include "opd_anon.h"
#include "opd_printf.h"
#include "opd_events.h"
#include "oprofiled.h"
#include "op_file.h"
#include "op_sample_file.h"
#include "op_config.h"
#include "op_mangle.h"
#include "op_events.h"
#include "op_libiberty.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
Include dependency graph for opd_mangling.c:

Go to the source code of this file.

Functions

static char const * get_dep_name (struct sfile const *sf)
static char * mangle_anon (struct anon_mapping const *anon)
static char * mangle_filename (struct sfile *last, struct sfile const *sf, int counter, int cg)
int opd_open_sample_file (odb_t *file, struct sfile *last, struct sfile *sf, int counter, int cg)

Detailed Description

Mangling and opening of sample files

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

Definition in file opd_mangling.c.


Function Documentation

static char const* get_dep_name ( struct sfile const *  sf  )  [static]

Definition at line 37 of file opd_mangling.c.

References sfile::anon, sfile::app_cookie, sfile::cookie, find_cookie(), sfile::kernel, separate_kernel, and separate_lib.

Referenced by mangle_filename().

Here is the call graph for this function:

Here is the caller graph for this function:

static char* mangle_anon ( struct anon_mapping const *  anon  )  [static]

Definition at line 57 of file opd_mangling.c.

References anon_mapping::end, anon_mapping::start, and anon_mapping::tgid.

Referenced by mangle_filename().

Here is the caller graph for this function:

static char* mangle_filename ( struct sfile last,
struct sfile const *  sf,
int  counter,
int  cg 
) [static]
int opd_open_sample_file ( odb_t file,
struct sfile last,
struct sfile sf,
int  counter,
int  cg 
)

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1