diff options
Diffstat (limited to 'tools/intel_aubdump.in')
-rw-r--r-- | tools/intel_aubdump.in | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/intel_aubdump.in b/tools/intel_aubdump.in index 7b5a0a1c..feee23a4 100644 --- a/tools/intel_aubdump.in +++ b/tools/intel_aubdump.in @@ -10,6 +10,8 @@ contents and execution of the GEM application. -o, --output=FILE Name of AUB file. Defaults to COMMAND.aub + --device=ID Override PCI ID of the reported device + -v Enable verbose output --help Display this help message and exit @@ -20,6 +22,7 @@ EOF } verbose=0 +device=0 while true; do case "$1" in @@ -39,6 +42,10 @@ while true; do file=${1##--output=} shift ;; + --device=*) + device=${1##--device=} + shift + ;; --help) show_help ;; @@ -66,5 +73,5 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ LD_PRELOAD=${libdir}/intel_aubdump.so${LD_PPRELOAD:+:${LD_PRELOAD}} \ - INTEL_AUBDUMP_ARGS="verbose=$verbose;file=$file" \ + INTEL_AUBDUMP_ARGS="verbose=$verbose;file=$file;device=$device" \ exec -- "$@" |