projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel/compiler: Get rid of the global compaction table pointers
[mesa.git]
/
src
/
intel
/
tools
/
intel_dump_gpu.in
diff --git
a/src/intel/tools/intel_dump_gpu.in
b/src/intel/tools/intel_dump_gpu.in
index 3efa0d4c76e8d03df90ae2a7c96a3fe9ab9446d6..f486f34d3880a694cd04b87eb127917875647f3d 100755
(executable)
--- 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
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
-v Enable verbose output
-vv Enable extra verbosity - dumps gtt mappings
@@
-36,6
+38,7
@@
args=""
file=""
gdb=""
capture_only=""
file=""
gdb=""
capture_only=""
+frame=""
function add_arg() {
arg=$1
function add_arg() {
arg=$1
@@
-82,10
+85,25
@@
while true; do
shift
;;
--platform=*)
shift
;;
--platform=*)
- platform=${1##-
p
}
+ platform=${1##-
-platform=
}
add_arg "platform=${platform}"
shift
;;
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
--gdb)
gdb=1
shift