Mike Dodd | 8cfa702 | 2010-11-17 11:12:26 -0800 | [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 gmon_filename; |
| 21 | } |
| 22 | |
| 23 | class inverted_profile; |
| 24 | |
| 25 | /// a set of sample filenames to handle. |
| 26 | extern inverted_profile image_profile; |
| 27 | |
| 28 | /** |
| 29 | * handle_options - process command line |
| 30 | * @param spec profile specification |
| 31 | * |
| 32 | * Process the spec, fatally complaining on error. |
| 33 | */ |
| 34 | void handle_options(options::spec const & spec); |
| 35 | |
| 36 | #endif // OPGPROF_OPTIONS_H |