summaryrefslogtreecommitdiff
path: root/tools/intel_iosf_sb_write.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>2015-07-29 23:12:16 -0700
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>2015-07-31 10:40:04 -0700
commite6a5d799fcdba567535a434789e107164072c15b (patch)
tree83512c5ea2a393d3a692a61919cfc8212a4131bb /tools/intel_iosf_sb_write.c
parent6bd42ce9c74f2b6d27b0263191295de232050ab5 (diff)
tools: Add LD_PRELOAD-based AUB dumper tool
This does everything the aub dump functionality in libdrm does, but without being part of libdrm. This moves the very developer oriented functionality out of core libdrm and adds some flexibility in how we activate it (we can specify filename, for example). Most importantly, this lets us dump aub files for tools and/or drivers that don't use libdrm, without having to add that code to each of those projects. The tool is used much like strace or valgrind. For example: $ intel_aubdump -v --output=stuff.aub -- glxgears -geometry 500x500 will launch glxgears with its options and enable aub dumping and pass the -v and --output=stuff.aub options to the aub dumper. Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Diffstat (limited to 'tools/intel_iosf_sb_write.c')
0 files changed, 0 insertions, 0 deletions