operf_mangling.h

Go to the documentation of this file.
00001 /*
00002  * @file pe_profiling/operf_mangling.h
00003  * This file is based on daemon/opd_mangling and is used for
00004  * mangling and opening of sample files for operf.
00005  *
00006  * @remark Copyright 2011 OProfile authors
00007  * @remark Read the file COPYING
00008  *
00009  * Created on: Dec 15, 2011
00010  * @author Maynard Johnson
00011  * (C) Copyright IBM Corp. 2011
00012  */
00013 
00014 #ifndef OPERF_MANGLING_H_
00015 #define OPERF_MANGLING_H_
00016 
00017 #include "odb.h"
00018 
00019 struct operf_sfile;
00020 
00021 /*
00022  * operf_open_sample_file - open a sample file
00023  * @param sf  operf_sfile to open sample file for
00024  * @param counter  counter number
00025  * @param cg if this is a callgraph file
00026  *
00027  * Open image sample file for the sfile, counter
00028  * counter and set up memory mappings for it.
00029  *
00030  * Returns 0 on success.
00031  */
00032 int operf_open_sample_file(odb_t *file, struct operf_sfile *last,
00033                          struct operf_sfile * sf, int counter, int cg);
00034 
00035 
00036 #endif /* OPERF_MANGLING_H_ */

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1