opgprof_options.h revision cc2ee177dbb3befca43e36cfc56778b006c3d050
1/** 2 * @file opgprof_options.h 3 * Options for opgprof tool 4 * 5 * @remark Copyright 2003 OProfile authors 6 * @remark Read the file COPYING 7 * 8 * @author John Levon 9 * @author Philippe Elie 10 */ 11 12#ifndef OPGPROF_OPTIONS_H 13#define OPGPROF_OPTIONS_H 14 15#include <string> 16 17#include "common_option.h" 18 19namespace options { 20 extern std::string archive_path; 21 extern std::string gmon_filename; 22} 23 24class inverted_profile; 25 26/// a set of sample filenames to handle. 27extern inverted_profile image_profile; 28 29/** 30 * handle_options - process command line 31 * @param spec profile specification 32 * 33 * Process the spec, fatally complaining on error. 34 */ 35void handle_options(options::spec const & spec); 36 37#endif // OPGPROF_OPTIONS_H 38