This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] rtlopt branch merge part 10 -- profiler sections
- From: Richard Henderson <rth at redhat dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 25 Feb 2003 18:18:45 -0800
- Subject: Re: [PATCH] rtlopt branch merge part 10 -- profiler sections
- References: <20030209214335.GA2619@atrey.karlin.mff.cuni.cz>
On Sun, Feb 09, 2003 at 10:43:35PM +0100, Zdenek Dvorak wrote:
> * gcov-dump.c (print_prefix): Fix signedness warning.
> * gcov-io.h (struct counter_section, struct counter_section_data): New.
> (struct function_info): n_arc_counts field removed, n_counter_sections,
> counter_sections fields added.
> (struct gcov_info): arc_counts, n_arc_counts fields removed,
> n_counter_sections, counter_sections fields added.
> * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
> profile sections.
> * profile.h (MAX_COUNTER_SECTIONS): New.
> (struct section_info): New.
> (struct profile_info): count_instrumented_edges,
> count_edges_instrumented_now fields removed, n_sections, section_info
> fields added.
> (find_counters_section): Declare.
> * profile.c (struct function_list): count_edges field removed,
> n_counter_sections, counter_sections fields added.
> (set_purpose, label_for_tag, build_counter_section_fields,
> build_counter_section_value, build_counter_section_data_fields,
> build_counter_section_data_value, build_function_info_fields,
> build_function_info_value, build_gcov_info_fields,
> build_gcov_info_value): New static functions.
> (find_counters_section): New function.
> (instrument_edges, get_exec_counts, compute_branch_probabilities,
> branch_prob, create_profiler): Modified to support multiple profile
> sections.
Ok.
r~