blob: 7fbc5807f482800784e6b950c135a5143c9efb10 [file] [log] [blame]
/**
* @file opgprof_options.h
* Options for opgprof tool
*
* @remark Copyright 2003 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon
* @author Philippe Elie
*/
#ifndef OPGPROF_OPTIONS_H
#define OPGPROF_OPTIONS_H
#include <string>
#include "common_option.h"
namespace options {
extern std::string archive_path;
extern std::string gmon_filename;
}
class inverted_profile;
/// a set of sample filenames to handle.
extern inverted_profile image_profile;
/**
* handle_options - process command line
* @param spec profile specification
*
* Process the spec, fatally complaining on error.
*/
void handle_options(options::spec const & spec);
#endif // OPGPROF_OPTIONS_H