tools/aubdump: Add --device option for overriding device ID

This lets us capture AUB traces for platforms different from the one
we're running on.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
This commit is contained in:
Kristian Høgsberg Kristensen
2015-08-04 15:00:50 -07:00
parent f47bdba8b0
commit 220c7d1f91
3 changed files with 40 additions and 7 deletions
+6 -1
View File
@@ -25,7 +25,12 @@ Write the trace output to the file
.IR FILE .
Default is
.IR COMMAND .aub.
.TP
.BI \-\^\-device= ID
Override the PCI ID of the drm device. This is useful for getting an
aub dump for a different generation of GPU. In this mode intel_aubdump
will intercept but not forward the execbuffer2 ioctl, as that would
typically cause a GPU hang.
.SH EXAMPLES
.TP
intel_aubdump -v --output=stuff.aub -- glxgears -geometry 500x500