Add an option to mdprof_feedback to print the feedback report without modifying
it. This option also avoids reading and parsing a Deep.data file, this makes
it quick and convenient if you just wish to view the feedback report.
deep_profiler/mdprof_feedback.m:
As above,
These changes make it necessary for the feedback_info structure to store
the program's name that the feedback is generated for. mdprof_feedback now
also checks that the program names in the feedback file, and deep profiling
data match.
mdbcomp/feedback.m:
Store the name of the program in the feedback_info structure and provide
methods to query this.
read_or_create now takes a new parameter, the name of the program that
we're creating a feedback file for. Or if a feedback file already exists,
the name that is checked against the one in the existing feedback file.
init_feedback_file now takes a new parameter, the name of the program that
this feedback_info structure is for.
These changes haven't changed the format of the feedback file, it always
contained the program's name. Therefore the feedback file version number
has not been incremented.
compiler/globals.m:
The feedback field in the compiler's globals structure now has the type
maybe(feedback). If feedback data couldn't be, or wasn't read then empty
feedback data is no longer used.
compiler/handle_options.m:
Conform to changes in mdbcomp/feedback.m and compiler/globals.m.
compiler/implicit_parallelism.m:
Conform to changes in compiler/globals.m