00001 /** 00002 * @file oparchive_options.h 00003 * Options for oparchive tool 00004 * 00005 * @remark Copyright 2003 OProfile authors 00006 * @remark Read the file COPYING 00007 * 00008 * @author Will Cohen 00009 * @author Philippe Elie 00010 */ 00011 00012 #ifndef OPARCHIVE_OPTIONS_H 00013 #define OPARCHIVE_OPTIONS_H 00014 00015 #include "common_option.h" 00016 00017 class profile_classes; 00018 class merge_option; 00019 00020 namespace options { 00021 extern bool exclude_dependent; 00022 extern merge_option merge_by; 00023 extern std::string outdirectory; 00024 extern bool list_files; 00025 } 00026 00027 /// All the chosen sample files. 00028 extern profile_classes classes; 00029 extern std::list<std::string> sample_files; 00030 00031 /** 00032 * handle_options - process command line 00033 * @param spec profile specification 00034 * 00035 * Process the spec, fatally complaining on error. 00036 */ 00037 void handle_options(options::spec const & spec); 00038 00039 #endif // OPARCHIVE_OPTIONS_H
1.6.1