Re: [PATCH v2] gcov: add support for GCC 4.9

From: Andrew Morton
Date: Tue May 13 2014 - 16:22:19 EST


On Tue, 13 May 2014 08:31:36 +0800 "Yuan Pengfei" <yuanpf12@xxxxxxxxxxxxxx> wrote:

> From: Yuan Pengfei <coolypf@xxxxxx>
>
> This patch handles the gcov-related changes in GCC 4.9:
> A new counter (time profile) is added.
> See http://gcc.gnu.org/gcc-4.9/changes.html

That link doesn't describe __gcov_merge_time_profile() and a quick web
search didn't turn up anything terribly useful.

> --- a/kernel/gcov/base.c
> +++ b/kernel/gcov/base.c
> @@ -85,6 +85,12 @@ void __gcov_merge_ior(gcov_type *counters, unsigned int
> n_counters)
> }
> EXPORT_SYMBOL(__gcov_merge_ior);
>
> +void __gcov_merge_time_profile(gcov_type *counters, unsigned int
> n_counters)
> +{
> + /* Unused. */
> +}
> +EXPORT_SYMBOL(__gcov_merge_time_profile);

So it would be useful for you to describe this change within the patch
changelog so that others can understand and review it.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/