Hi~ there,


I completed 2.4.20 kernel with gcov-patch, and i tried some test with lcov-1.1.

But, there is some problem


1.       I guess that reset option(--zerocounters) of the lcov doesnt work.

After the command is executed, code covered shows Code covered: 8.0%

The code covered value is variable below 10%.

Did I omitted something?


# lcov --zerocounters

perl: warning: Setting locale failed.

Perl: warning: Please check that your locale settings:

              LANGUAGE = (unset),

              LC_ALL = (unset),

              LANG = en-US

    Are supported and installed on your system.

Perl: warning: Falling back to the standard locale (C)

Loading required gcov kernel module.

Resetting Kernel execution counters.

Unloading kernel module gcov-proc


# lcov c o kernel.info


Copying kernel data to temporary directory ./tmpdir934

Capturing coverage data from ./tmpdir934


Processing ....../sched.da


Finished .info-file creation


Removing temporary directory ./tmpdir934

# genhtml o /html kernel.info


Overall coverage rate: 10243 of 127939 lines (8.0%)


2.       When I captured covered data by lcov c o kernel.info, There is error message like below.

Unexpected EOF while reading source file /usr/src/linux-2.4.20/include/asm/pgtable.h.

Some file make same message.....