mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-28 08:16:54 +00:00
doc: use code-block:: none for command examples
The ``.. code-block::`` directive can specify a highlight language for the body of the directive. Previously the languages "none" and "console" were the same, but we're now using "console" for creating terminal-looking output (rather than doing images of terminal windows) with a black background and white text. This PR replaces unintended uses of the "console" highlighting language with "none". Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
dc6d7755e4
commit
988a3fe0d6
@ -35,14 +35,14 @@ Build
|
|||||||
|
|
||||||
To build the ``ACRN-Crashlog``, run below command under ``acrn-crashlog/``:
|
To build the ``ACRN-Crashlog``, run below command under ``acrn-crashlog/``:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ make
|
$ make
|
||||||
|
|
||||||
To remove all generated files and return the folder to its clean state, use
|
To remove all generated files and return the folder to its clean state, use
|
||||||
below command under ``acrn-crashlog/``:
|
below command under ``acrn-crashlog/``:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ make clean
|
$ make clean
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ Installing
|
|||||||
|
|
||||||
To install the build
|
To install the build
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ telemetrics-client on the system:
|
|||||||
|
|
||||||
Crashlog can be retrieved with ``telem_journal`` command:
|
Crashlog can be retrieved with ``telem_journal`` command:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ telem_journal -i
|
$ telem_journal -i
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ Crashlog can be retrieved with ``telem_journal`` command:
|
|||||||
``ACRN-Crashlog`` also provides a tool ``debugger`` to dump the specific
|
``ACRN-Crashlog`` also provides a tool ``debugger`` to dump the specific
|
||||||
process information:
|
process information:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ debugger <pid>
|
$ debugger <pid>
|
||||||
|
|
||||||
@ -106,7 +106,7 @@ Source Code
|
|||||||
|
|
||||||
The source code structure:
|
The source code structure:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
acrn-crashlog/
|
acrn-crashlog/
|
||||||
├── acrnprobe
|
├── acrnprobe
|
||||||
|
@ -26,13 +26,13 @@ Specify a configuration file for ``acrnprobe``. If this option is unused,
|
|||||||
``acrnprobe`` will use the configuration file located in CUSTOM CONFIGURATION
|
``acrnprobe`` will use the configuration file located in CUSTOM CONFIGURATION
|
||||||
PATH or INSTALLATION PATH (see `CONFIGURATION FILES`_).
|
PATH or INSTALLATION PATH (see `CONFIGURATION FILES`_).
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ acrnprobe -c [configuration_path]
|
$ acrnprobe -c [configuration_path]
|
||||||
|
|
||||||
To see the version of ``acrnprobe``.
|
To see the version of ``acrnprobe``.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ acrnprobe -V
|
$ acrnprobe -V
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ Usage
|
|||||||
``core_pattern``. The content of ``core_pattern`` is configured as
|
``core_pattern``. The content of ``core_pattern`` is configured as
|
||||||
``usercrash_c`` while booting up:
|
``usercrash_c`` while booting up:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ echo "|/usr/bin/usercrash_c %p %e %s" > /proc/sys/kernel/core_pattern
|
$ echo "|/usr/bin/usercrash_c %p %e %s" > /proc/sys/kernel/core_pattern
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ event will be sent to server from client.
|
|||||||
specific process, including backtrace, stack, opened files, registers value,
|
specific process, including backtrace, stack, opened files, registers value,
|
||||||
memory content around registers, and etc.
|
memory content around registers, and etc.
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: none
|
||||||
|
|
||||||
$ debugger <pid>
|
$ debugger <pid>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user