summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2023-01-27 11:12:36 +0000
committerKamil Konieczny <kamil.konieczny@linux.intel.com>2023-01-30 17:38:39 +0100
commitfbe3c6d7c63f8e086f3218e2a926086a164f80dc (patch)
tree9122f01950b57ea29cec3117e5ca8cc59fb971b9 /man
parent11a316ad876200cb3346c4dbd81b602157bfcec2 (diff)
intel_gpu_top: Fix man page formatting
New lines are not respected when rst2man generates the page so try to work around that by followin advice from the Internet. v2: * Improve some wording. * Tidy -o option description. * Update dates. * Convert the filter list to table. * Correct spell error 'addrress' [Kamil] Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> # v1
Diffstat (limited to 'man')
-rw-r--r--man/intel_gpu_top.rst55
1 files changed, 25 insertions, 30 deletions
diff --git a/man/intel_gpu_top.rst b/man/intel_gpu_top.rst
index 748c7740c..1a218c80f 100644
--- a/man/intel_gpu_top.rst
+++ b/man/intel_gpu_top.rst
@@ -7,9 +7,9 @@ Display a top-like summary of Intel GPU usage
---------------------------------------------
.. include:: defs.rst
:Author: IGT Developers <igt-dev@lists.freedesktop.org>
-:Date: 2020-03-18
+:Date: 2023-01-27
:Version: |PACKAGE_STRING|
-:Copyright: 2009,2011,2012,2016,2018,2019,2020 Intel Corporation
+:Copyright: 2009,2011,2012,2016,2018,2019,2020,2023 Intel Corporation
:Manual section: |MANUAL_SECTION|
:Manual group: |MANUAL_GROUP|
@@ -23,7 +23,7 @@ DESCRIPTION
**intel_gpu_top** is a tool to display usage information on Intel GPU's.
-The tool gathers data using perf performance counters (PMU) exposed by i915 and other platform drivers like RAPL (power) and Uncore IMC (memory bandwidth).
+The tool presents data collected from performance counters (PMU), exposed by i915 and other platform drivers like RAPL (power) and Uncore IMC (memory bandwidth).
OPTIONS
=======
@@ -37,49 +37,44 @@ OPTIONS
-l
List plain text data.
--o <file path | ->
- Output to the specified file instead of standard output.
- '-' can also be specified to explicitly select standard output.
+-o <file>, or -o -
+ Output to the specified file instead of standard output. '-' can also be specified to explicitly select standard output.
-s <ms>
Refresh period in milliseconds.
+
-L
- List available GPUs on the platform.
+ List available GPUs on the system.
+
-d
- Select a specific GPU using supported filter.
+ Select a specific GPU using one of the supported filters.
RUNTIME CONTROL
===============
Supported keys:
- 'q' Exit from the tool.
- 'h' Show interactive help.
- '1' Toggle between aggregated engine class and physical engine mode.
- 'n' Toggle display of numeric client busyness overlay.
- 's' Toggle between sort modes (runtime, total runtime, pid, client id).
- 'i' Toggle display of clients which used no GPU time.
- 'H' Toggle between per PID aggregation and individual clients.
+|
+| 'q' Exit from the tool.
+| 'h' Show interactive help.
+| '1' Toggle between aggregated by engine class and physical engine mode.
+| 'n' Toggle display of numeric client busyness overlay.
+| 's' Toggle between sort modes (runtime, total runtime, pid, client id).
+| 'i' Toggle display of clients which used no GPU time.
+| 'H' Toggle between per PID aggregation and individual clients.
DEVICE SELECTION
================
-User can select specific GPU for performance monitoring on platform where multiple GPUs are available.
-A GPU can be selected by sysfs path, drm node or using various PCI sub filters.
-
-Filter types: ::
-
- ---
- filter syntax
- ---
- sys sys:/sys/devices/pci0000:00/0000:00:02.0
- find device by its sysfs path
-
- drm drm:/dev/dri/* path
- find drm device by /dev/dri/* node
+On systems where multiple GPUs are present it is possible to select a specific GPU to be monitored. A GPU can be selected by sysfs path, drm device node or using various PCI sub filters.
- pci pci:[vendor=%04x/name][,device=%04x][,card=%d]
- vendor is hex number or vendor name
+========== ====================================================== ======================
+**Filter** **Syntax** **GPU selection criteria**
+========== ====================================================== ======================
+sys | ``sys:/sys/devices/pci0000:00/0000:00:02.0`` Select using the sysfs path.
+drm | ``drm:/dev/dri/<node>`` Select using the /dev/dri/\* device node.
+pci | ``pci:[vendor=%04x/name][,device=%04x][,card=%d]`` Select using the PCI address. Vendor is hexadecinal number or vendor name.
+========== ====================================================== ======================
JSON OUTPUT
===========