Whether we can measure Linux Kernel code coverage using Legato Kconfig

I would like to measure code coverage for Linux Kernel, and I found a website below.

The website shows how to measure code coverage (using menuconfig and setting TEST_COVERAGE to “y”).

What codes can I measure coverage for?

List of possible answers
(A) Only Legato (codes of Linux Kernel are not measured)
(B) Legato and Linux Kernel
(C) Other