summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni.dodonov@intel.com>2011-09-05 19:41:24 -0300
committerEugeni Dodonov <eugeni.dodonov@intel.com>2011-09-05 19:45:01 -0300
commita483c97d910d18b0626591f770d212ca97e2f7a1 (patch)
tree6ef580bf932725cc9bbf6bb8485fb24166e70468 /man
parentc2983f24e34936fd9e0d513922af70485d579e61 (diff)
intel_gpu_top: support profiling user-specified commands
This patch adds support for running intel_gpu_top to profile specific commands. The required command will be carried out in separate process, and main intel_gpu_top will leave when the child process will exit. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Diffstat (limited to 'man')
-rw-r--r--man/intel_gpu_top.110
1 files changed, 10 insertions, 0 deletions
diff --git a/man/intel_gpu_top.1 b/man/intel_gpu_top.1
index bca83f0d..db2f362e 100644
--- a/man/intel_gpu_top.1
+++ b/man/intel_gpu_top.1
@@ -19,8 +19,18 @@ number of samples to acquire per second
.B -o [output file]
run non-interactively and collect usage statistics to [file]
.TP
+.B -e ["command to profile"]
+execute a command, and leave when it is finished. Note that the entire command
+with all parameters should be included as one parameter.
+.TP
.B -h
show usage notes
+.SH EXAMPLES
+.TP
+intel_gpu_top -o "cairo-trace-gvim.log" -s 100 -e "cairo-perf-trace /tmp/gvim"
+will run cairo-perf-trace with /tmp/gvim trace, non-interactively, saving the
+statistics into cairo-trace-gvim.log file, and collecting 100 samples per
+second.
.PP
Note that idle units are not
displayed, so an entirely idle GPU will only display the ring status and