1. 07 Dec, 2017 2 commits
  2. 09 Nov, 2016 1 commit
  3. 31 Jul, 2015 1 commit
    • Kristian Høgsberg Kristensen's avatar
      tools: Add LD_PRELOAD-based AUB dumper tool · e6a5d799
      Kristian Høgsberg Kristensen authored
      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: default avatarKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
      e6a5d799