Upstream | cc2ee17 | 1970-01-12 13:46:40 +0000 | [diff] [blame^] | 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 | |
| 19 | namespace options { |
| 20 | extern std::string archive_path; |
| 21 | extern std::string gmon_filename; |
| 22 | } |
| 23 | |
| 24 | class inverted_profile; |
| 25 | |
| 26 | /// a set of sample filenames to handle. |
| 27 | extern 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 | */ |
| 35 | void handle_options(options::spec const & spec); |
| 36 | |
| 37 | #endif // OPGPROF_OPTIONS_H |