Skip to content

gcov kernel support

Peter Oberparleiter lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4kernel: constructor supportinclude/asm-generic/vmlinux.lds.h include/linux/init.h include/linux/module.h +3 more+52 -14 replies
2/4seq_file: add function to write binary datafs/seq_file.c include/linux/seq_file.h+21 -00 replies
3/4gcov: add gcov profiling infrastructureDocumentation/gcov.txt Documentation/kernel-parameters.txt Makefile +10 more+1732 -50 replies
4/4gcov: enable GCOV_PROFILE_ALL for x86_64arch/x86/boot/Makefile arch/x86/boot/compressed/Makefile arch/x86/kernel/Makefile +3 more+7 -10 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRusty Russell
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] gcov kernel support

This patchset implements support for performing kernel code coverage measurements based on gcc's gcov mechanism. It can be used to improve kernel code quality by identifying code parts which are not exercised during test cases. Patch base is 2.6.30-rc4.

Changes since last version:
* moved compiler version assertion to include/linux/compiler-gcc3.h
* moved all module-specific code under CONFIG_MODULES
* added symbolic names for gcda file record numbers
* split seq_write_gcov_int() into two functions
* coding style changes:
* fixed multi-line comments
* added braces for multi-line blocks
* improved rc and error label usage
* made local variable initialization consistent
* added initialization indentation
* improved readability by using local variables

Patch overview:
[PATCH 1/4] kernel: constructor support
[PATCH 2/4] seq_file: add function to write binary data [PATCH 3/4] gcov: add gcov profiling infrastructure [PATCH 4/4] gcov: enable GCOV_PROFILE_ALL for x86_64

For more information see Documentation/gcov.txt and the previous post:
http://marc.info/?l=linux-kernel&m=123565658224661