-p, --platform=NAME Override PCI ID using a platform name
+ -c, --only-capture Only write objects flagged with EXEC_OBJECT_CAPTURE into
+ the output aub file. This helps reducing output file
+ size greatly but won't produce a file replayable
+
-v Enable verbose output
-vv Enable extra verbosity - dumps gtt mappings
args=""
file=""
gdb=""
+capture_only=""
function add_arg() {
arg=$1
gdb=1
shift
;;
+ -c)
+ add_arg "capture_only=1"
+ shift
+ ;;
+ --only-capture)
+ add_arg "capture_only=1"
+ shift
+ ;;
--help)
show_help
;;