Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs/gcov: Convert two tags to ref in dev-tools/gov.rst

Htmldocs does not display the chapter number, convert the two manual
chapter number tags to ref tags.

Signed-off-by: Wu XiangCheng <bobwxc@email.cn>
Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Link: https://lore.kernel.org/r/20210403113752.GA32236@mipc
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Wu XiangCheng and committed by
Jonathan Corbet
1446e322 0e5e0a55

+6 -2
+6 -2
Documentation/dev-tools/gcov.rst
··· 124 124 cases where the kernel runs on a separate machine, special preparations 125 125 must be made, depending on where the gcov tool is used: 126 126 127 + .. _gcov-test: 128 + 127 129 a) gcov is run on the TEST machine 128 130 129 131 The gcov tool version on the test machine must be compatible with the ··· 144 142 exact same file system location on the test machine as on the build 145 143 machine. If any of the path components is symbolic link, the actual 146 144 directory needs to be used instead (due to make's CURDIR handling). 145 + 146 + .. _gcov-build: 147 147 148 148 b) gcov is run on the BUILD machine 149 149 ··· 215 211 ------------------------------ 216 212 217 213 Sample script to gather coverage meta files on the build machine 218 - (see 6a): 214 + (see :ref:`Separated build and test machines a. <gcov-test>`): 219 215 220 216 .. code-block:: sh 221 217 ··· 248 244 ----------------------------- 249 245 250 246 Sample script to gather coverage data files on the test machine 251 - (see 6b): 247 + (see :ref:`Separated build and test machines b. <gcov-build>`): 252 248 253 249 .. code-block:: sh 254 250