Lines Matching full:spec
96 /* FIXME: what does spec say about this being allowed to be
203 /// return true if the value from the profile spec may match the comma
208 // if the profile spec is "all" we match the sample file
213 // spec values
217 // now match each profile spec value against the sample file
224 bool profile_spec::match(filename_spec const & spec) const
230 // sample filename. This allow to specify profile spec based on the
232 string simage = fixup_image_spec(spec.image, extra_found_images);
233 string slib_image = fixup_image_spec(spec.lib_image,
263 // matched this spec through image
270 // exclude from spec, exclusion from image_or_lib_image has
276 if (!spec.lib_image.empty() && !filter.match(slib_image))
280 if (!event.match(spec.event))
283 if (!count.match(spec.count))
286 if (!unitmask.match(spec.unitmask))
289 if (!comma_match(cpu, spec.cpu))
292 if (!comma_match(tid, spec.tid))
295 if (!comma_match(tgid, spec.tgid))
306 profile_spec spec;
314 if (spec.is_valid_tag(*it)) {
320 spec.parse(*it);
328 if (spec.session.empty())
329 spec.session.push_back("current");
334 if (!is_directory(spec.get_archive_path() + "/" + *ip_it)) {
335 cerr << spec.get_archive_path() + "/" + *ip_it << " isn't a valid directory\n";
342 spec.extra_found_images.populate(image_path, spec.get_archive_path(),
347 spec.set_image_or_lib_name(*im);
349 return spec;
377 profile_spec const & spec, bool exclude_dependent,
441 filename_spec file_spec(filename, spec.extra_found_images);
442 if (spec.match(file_spec)) {