* Updated the coverage analysis handling for Linux 2.6.32. Gcov is

now merged in the kernel, and the gcda files are exported through
  debugfs in /sys/kernel/debug/gcov.

svn path=/nixos/trunk/; revision=19207
This commit is contained in:
Eelco Dolstra
2010-01-04 13:22:43 +00:00
parent 13878cb78d
commit 9aa0a336bc
3 changed files with 14 additions and 9 deletions

View File

@@ -36,6 +36,10 @@ with pkgs.lib;
mkdir /hostfs/$hostTmpDir/coverage-data
ln -s /hostfs/$hostTmpDir/coverage-data /tmp/coverage-data
)
# Mount debugfs to gain access to the kernel coverage data (if
# available).
mount -t debugfs none /sys/kernel/debug || true
'';
# If the kernel has been built with coverage instrumentation, make