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

From: Andi Kleen
Date: Tue May 13 2014 - 23:23:40 EST


"Yuan Pengfei" <yuanpf12@xxxxxxxxxxxxxx> writes:

> This patch handles the gcov-related changes in GCC 4.9:
> A new counter (time profile) is added. The total number is 9 now.
> A new profile merge function __gcov_merge_time_profile is added.
> See gcc/gcov-io.h and libgcc/libgcov-merge.c
> For the first change, the layout of struct gcov_info is affected.
> For the second one, a dummy function is added to kernel/gcov/base.c
> similarly.


Thanks for doing that. I tried it too at some point, but failed.
>
> +void __gcov_merge_time_profile(gcov_type *counters, unsigned int
> n_counters)

But can you repost please without word wrapping?

Except for that the patch looks good to me.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/