00001 00012 #ifndef OPANNOTATE_OPTIONS_H 00013 #define OPANNOTATE_OPTIONS_H 00014 00015 #include <string> 00016 #include <vector> 00017 00018 #include "common_option.h" 00019 #include "path_filter.h" 00020 00021 class profile_classes; 00022 00023 namespace options { 00024 extern demangle_type demangle; 00025 extern bool source; 00026 extern bool assembly; 00027 extern string_filter symbol_filter; 00028 extern path_filter file_filter; 00029 extern std::string output_dir; 00030 extern std::vector<std::string> search_dirs; 00031 extern std::vector<std::string> base_dirs; 00032 extern std::vector<std::string> objdump_params; 00033 extern double threshold; 00034 } 00035 00037 extern profile_classes classes; 00038 00045 void handle_options(options::spec const & spec); 00046 00047 #endif // OPANNOTATE_OPTIONS_H