LWN.net Logo

gcov kernel support

From:  Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
To:  Andrew Morton <akpm@linux-foundation.org>
Subject:  [PATCH 0/4] gcov kernel support
Date:  Tue, 02 Jun 2009 13:43:59 +0200
Message-ID:  <20090602114359.129247921@linux.vnet.ibm.com>
Cc:  linux-kernel@vger.kernel.org, Andi Kleen <andi@firstfloor.org>, Huang Ying <ying.huang@intel.com>, Li Wei <W.Li@Sun.COM>, Michael Ellerman <michaele@au1.ibm.com>, Ingo Molnar <mingo@elte.hu>, Heiko Carstens <heicars2@linux.vnet.ibm.com>, Martin Schwidefsky <mschwid2@linux.vnet.ibm.com>
Archive-link:  Article, Thread

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-rc7.

Changes since last version:
* removed __gcov_execve (assuming no kernel function will be called
  execve)

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

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

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds