• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * @file oparchive_options.h
3  * Options for oparchive tool
4  *
5  * @remark Copyright 2003 OProfile authors
6  * @remark Read the file COPYING
7  *
8  * @author Will Cohen
9  * @author Philippe Elie
10  */
11 
12 #ifndef OPARCHIVE_OPTIONS_H
13 #define OPARCHIVE_OPTIONS_H
14 
15 #include "common_option.h"
16 
17 class profile_classes;
18 class merge_option;
19 
20 namespace options {
21 	extern bool exclude_dependent;
22 	extern merge_option merge_by;
23 	extern std::string outdirectory;
24 	extern bool list_files;
25 }
26 
27 /// All the chosen sample files.
28 extern profile_classes classes;
29 extern std::list<std::string> sample_files;
30 
31 /**
32  * handle_options - process command line
33  * @param spec  profile specification
34  *
35  * Process the spec, fatally complaining on error.
36  */
37 void handle_options(options::spec const & spec);
38 
39 #endif // OPARCHIVE_OPTIONS_H
40