X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fintel%2Ftools%2Fintel_dump_gpu.in;h=f486f34d3880a694cd04b87eb127917875647f3d;hb=54ba0daa28b7b3cac8a8df6320cfcf3715e6526b;hp=3efa0d4c76e8d03df90ae2a7c96a3fe9ab9446d6;hpb=22b512ea5b11c3b02f488d7143556eb0ef8c1303;p=mesa.git diff --git a/src/intel/tools/intel_dump_gpu.in b/src/intel/tools/intel_dump_gpu.in index 3efa0d4c76e..f486f34d388 100755 --- a/src/intel/tools/intel_dump_gpu.in +++ b/src/intel/tools/intel_dump_gpu.in @@ -20,6 +20,8 @@ contents and execution of the GEM application. the output aub file. This helps reducing output file size greatly but won't produce a file replayable + -f, --frame=ID Only dump objects for frame ID + -v Enable verbose output -vv Enable extra verbosity - dumps gtt mappings @@ -36,6 +38,7 @@ args="" file="" gdb="" capture_only="" +frame="" function add_arg() { arg=$1 @@ -82,10 +85,25 @@ while true; do shift ;; --platform=*) - platform=${1##-p} + platform=${1##--platform=} add_arg "platform=${platform}" shift ;; + -f) + frame=$2 + add_arg "frame=${frame}" + shift 2 + ;; + -f*) + frame=${1##-f} + add_arg "frame=${frame}" + shift + ;; + --frame=*) + frame=${1##--frame=} + add_arg "frame=${frame}" + shift + ;; --gdb) gdb=1 shift