Commit 57131dd3 authored by Jani Nikula's avatar Jani Nikula

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: default avatarJani Nikula <jani.nikula@intel.com>
parent 07a37ba5
...@@ -201,7 +201,9 @@ Appendix A: gather_on_build.sh ...@@ -201,7 +201,9 @@ Appendix A: gather_on_build.sh
------------------------------ ------------------------------
Sample script to gather coverage meta files on the build machine Sample script to gather coverage meta files on the build machine
(see 6a):: (see 6a):
.. code-block:: sh
#!/bin/bash #!/bin/bash
...@@ -232,7 +234,9 @@ Appendix B: gather_on_test.sh ...@@ -232,7 +234,9 @@ Appendix B: gather_on_test.sh
----------------------------- -----------------------------
Sample script to gather coverage data files on the test machine Sample script to gather coverage data files on the test machine
(see 6b):: (see 6b):
.. code-block:: sh
#!/bin/bash -e #!/bin/bash -e
......
...@@ -24,7 +24,9 @@ Profiling data will only become accessible once debugfs has been mounted:: ...@@ -24,7 +24,9 @@ Profiling data will only become accessible once debugfs has been mounted::
mount -t debugfs none /sys/kernel/debug 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 <stdio.h>
#include <stddef.h> #include <stddef.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment