tmp_suning_uos_patched/kernel/gcov
Frantisek Hrbata 5f41ea0386 gcov: add support for gcc 4.7 gcov format
The gcov in-memory format changed in gcc 4.7.  The biggest change, which
requires this special implementation, is that gcov_info no longer contains
array of counters for each counter type for all functions and gcov_fn_info
is not used for mapping of function's counters to these arrays(offset).
Now each gcov_fn_info contans it's counters, which makes things a little
bit easier.

This is heavily based on the previous gcc_3_4.c implementation and patches
provided by Peter Oberparleiter.  Specially the buffer gcda implementation
for iterator.

[akpm@linux-foundation.org: use kmemdup() and kcalloc()]
[oberpar@linux.vnet.ibm.com: gcc_4_7.c needs vmalloc.h]
Signed-off-by: Frantisek Hrbata <fhrbata@redhat.com>
Cc: Jan Stancek <jstancek@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Reviewed-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Andy Gospodarek <agospoda@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-11-13 12:09:34 +09:00
..
base.c gcov: add support for gcc 4.7 gcov format 2013-11-13 12:09:34 +09:00
fs.c gcov: move gcov structs definitions to a gcc version specific file 2013-11-13 12:09:34 +09:00
gcc_3_4.c gcov: move gcov structs definitions to a gcc version specific file 2013-11-13 12:09:34 +09:00
gcc_4_7.c gcov: add support for gcc 4.7 gcov format 2013-11-13 12:09:34 +09:00
gcov.h gcov: move gcov structs definitions to a gcc version specific file 2013-11-13 12:09:34 +09:00
Kconfig kernel/gcov: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:39:33 -08:00
Makefile kernel: change to new flag variable 2011-03-17 14:02:54 +01:00