From 06b0830fb948b9b632342cd26100342aa01cbc79 Mon Sep 17 00:00:00 2001 From: Tvrtko Ursulin Date: Fri, 8 Feb 2019 11:58:53 +0000 Subject: tools/intel_gpu_top: Add file output capability A new -o command switch enables logging to a file. v2: * Support "-o -" for explicit stdout selection. (Chris Wilson) Signed-off-by: Tvrtko Ursulin References: https://bugs.freedesktop.org/show_bug.cgi?id=108689 Cc: Eero Tamminen Cc: 3.14pi@ukr.net Cc: Chris Wilson Reviewed-by: Chris Wilson --- man/intel_gpu_top.rst | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'man') diff --git a/man/intel_gpu_top.rst b/man/intel_gpu_top.rst index d5bda093..d487baca 100644 --- a/man/intel_gpu_top.rst +++ b/man/intel_gpu_top.rst @@ -28,16 +28,21 @@ The tool gathers data using perf performance counters (PMU) exposed by i915 and OPTIONS ======= --s - Refresh period in milliseconds. +-h + Show help text. + +-J + Output JSON formatted data. -l - List text data to standard out. + List plain text data. --J - Output JSON formatted data to standard output. --h - Show help text. +-o + Output to the specified file instead of standard output. + '-' can also be specified to explicitly select standard output. + +-s + Refresh period in milliseconds. LIMITATIONS =========== -- cgit v1.2.3