* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user