00001 00011 #ifndef PARSE_FILENAME_H 00012 #define PARSE_FILENAME_H 00013 00014 #include <string> 00015 00016 class extra_images; 00017 00021 struct parsed_filename 00022 { 00023 std::string image; 00024 std::string lib_image; 00027 std::string cg_image; 00028 std::string event; 00029 std::string count; 00030 std::string unitmask; 00031 std::string tgid; 00032 std::string tid; 00033 std::string cpu; 00034 00036 bool profile_spec_equal(parsed_filename const & parsed); 00037 00042 std::string filename; 00043 bool jit_dumpfile_exists; 00044 }; 00045 00046 00048 std::ostream & operator<<(std::ostream &, parsed_filename const &); 00049 00050 00062 parsed_filename parse_filename(std::string const & filename, 00063 extra_images const & extra_found_images); 00064 00065 #endif /* !PARSE_FILENAME_H */