--- a/libpp/profile_spec.h
+++ b/libpp/profile_spec.h
@@ -44,18 +44,19 @@
 
 	/**
 	 * @param exclude_dependent  whether to exclude dependent sub-images
+	 * @param exclude_cg  whether to exclude call graph file
 	 *
 	 * Use the spec to generate the list of candidate sample files.
 	 */
 	std::list<std::string>
-	generate_file_list(bool exclude_dependent) const;
+	generate_file_list(bool exclude_dependent, bool exclude_cg) const;
 
 	/**
-	 * @param filename  the filename to check
+	 * @param file_spec  the filename specification to check
 	 *
 	 * return true if filename match the spec. PP:3.24 internal loop
 	 */
-	bool match(std::string const & filename) const;
+	bool match(filename_spec const & file_spec) const;
 
 private:
 	profile_spec(extra_images const & extra);