diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-11-03 10:44:04 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-11-03 11:39:06 +0100 |
commit | 57131dd3fd9f51a6b54a917d7faa6ce59d7f3e48 (patch) | |
tree | 2574f4e9276821f8be6ff6292b8c4df9e079e0af /Documentation/dev-tools | |
parent | Documentation/admin-guide: use code-block with proper language (diff) | |
download | linux-57131dd3fd9f51a6b54a917d7faa6ce59d7f3e48.tar.xz linux-57131dd3fd9f51a6b54a917d7faa6ce59d7f3e48.zip |
Documentation/dev-tools: use code-block with proper language
Now that we don't have automatic syntax highlighting, use the code-block
directive with the explicitly selected language, where appropriate.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'Documentation/dev-tools')
-rw-r--r-- | Documentation/dev-tools/gcov.rst | 8 | ||||
-rw-r--r-- | Documentation/dev-tools/kcov.rst | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/dev-tools/gcov.rst b/Documentation/dev-tools/gcov.rst index 19eedfea8800..69a7d90c320a 100644 --- a/Documentation/dev-tools/gcov.rst +++ b/Documentation/dev-tools/gcov.rst @@ -201,7 +201,9 @@ Appendix A: gather_on_build.sh ------------------------------ Sample script to gather coverage meta files on the build machine -(see 6a):: +(see 6a): + +.. code-block:: sh #!/bin/bash @@ -232,7 +234,9 @@ Appendix B: gather_on_test.sh ----------------------------- Sample script to gather coverage data files on the test machine -(see 6b):: +(see 6b): + +.. code-block:: sh #!/bin/bash -e diff --git a/Documentation/dev-tools/kcov.rst b/Documentation/dev-tools/kcov.rst index aca0e27ca197..2c41b713841f 100644 --- a/Documentation/dev-tools/kcov.rst +++ b/Documentation/dev-tools/kcov.rst @@ -24,7 +24,9 @@ Profiling data will only become accessible once debugfs has been mounted:: mount -t debugfs none /sys/kernel/debug -The following program demonstrates kcov usage from within a test program:: +The following program demonstrates kcov usage from within a test program: + +.. code-block:: c #include <stdio.h> #include <stddef.h> |