6 Usage: intel_dump_gpu [OPTION]... [--] COMMAND ARGUMENTS
8 Run COMMAND with ARGUMENTS and dump an AUB file that captures buffer
9 contents and execution of the GEM application.
11 -o, --output=FILE Name of AUB file. Defaults to COMMAND.aub
13 --device=ID Override PCI ID of the reported device
15 -v Enable verbose output
17 -vv Enable extra verbosity - dumps gtt mappings
19 --help Display this help message and exit
38 add_arg
"file=${file:-$(basename ${file}).aub}"
51 add_arg
"file=${file:-$(basename ${file}).aub}"
56 add_arg
"file=${file:-$(basename ${file}).aub}"
60 add_arg
"device=${1##--device=}"
71 echo "intel_aubdump: invalid option: $1"
81 [ -z $1 ] && show_help
83 [ -z $file ] && add_arg
"file=intel.aub"
85 LD_PRELOAD
="@install_libexecdir@/libintel_dump_gpu.so${LD_PPRELOAD:+:$LD_PRELOAD}" \