]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gcov: add support for GCC 4.9
authorYuan Pengfei <coolypf@qq.com>
Thu, 22 May 2014 00:44:12 +0000 (10:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:44:12 +0000 (10:44 +1000)
commitcd4d4280cb1db2a96c679bd464538e0c380d6341
tree6b0c32d1668972b3db88307d38d78ef771cdcee0
parenta288f15c16b553ef851fda12403fb560113bf725
gcov: add support for GCC 4.9

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.

Signed-off-by: Yuan Pengfei <coolypf@qq.com>
Acked-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/gcov/base.c
kernel/gcov/gcc_4_7.c