[PATCH v2 00/18] support for tracing Android Dalvik applications

Imre Deak imre.deak at intel.com
Tue May 15 07:10:55 PDT 2012


Hi,

in v2 I addressed hopefully all the issues you pointed out. In addition
I also added support for multi-threaded retracing, which I needed to
verify if the traces I captured were correct. This will also give a nice
boost to playing pack traces with only a single thread, as now we can do
the decoding in a separate thread. Since this is new code, I enabled
the multi-threaded retrace only optionally.

I also updated the tree at https://github.com/ideak/apitrace/tree/dev.

--Imre

Imre Deak (18):
  add debug option for debug builds
  make GLES/glext.hpp guard macro name unique
  filter based on thread_id
  trace: add support for tracing gl*PointerBounds calls
  retrace: substitute gl*Pointer instead of gl*PointerBounds calls
  trace: add support for tracing glDrawTex calls
  mt trace: create gltrace_state.cpp, move getContext into it
  mt trace: track GL context create/destroy calls
  Android: add support for dynamically enable/disable tracing
  Android manual state tracking: add integer,pointer maps
  Android manual state tracking: add function prologs
  Android manual state tracking: add helpers
  Android manual state tracking: wrap native GL calls
  Android manual state tracking: enable for EGL
  Android: add usage instructions for tracing zygote applications
  mt retrace: add workqueue support
  mt retrace: mt retrace: add support for multi-threaded playback
  mt retrace: store current context,drawable in thread specific memory

 CMakeLists.txt                  |    5 +
 README.markdown                 |   61 +++++++++
 cli/cli_trim.cpp                |   20 +++-
 common/os.hpp                   |    9 ++
 common/os_posix.cpp             |   63 +++++++++
 common/os_workqueue.hpp         |   49 +++++++
 common/workqueue_posix.cpp      |  116 ++++++++++++++++
 common/workqueue_win32.cpp      |   48 +++++++
 helpers/glsize.hpp              |   14 ++-
 retrace/CMakeLists.txt          |    1 +
 retrace/glretrace.hpp           |   12 ++-
 retrace/glretrace.py            |   16 ++-
 retrace/glretrace_cgl.cpp       |    3 +
 retrace/glretrace_egl.cpp       |   62 ++++++++--
 retrace/glretrace_glx.cpp       |    2 +-
 retrace/glretrace_main.cpp      |    8 +-
 retrace/glretrace_state.cpp     |   68 ++++++++++
 retrace/glretrace_wgl.cpp       |    6 +-
 retrace/glretrace_ws.cpp        |   17 ++-
 retrace/retrace_main.cpp        |  143 +++++++++++++++-----
 specs/glapi.py                  |   12 ++
 specs/glparams.py               |    2 +-
 thirdparty/khronos/GLES/glext.h |    4 +-
 wrappers/CMakeLists.txt         |    9 +-
 wrappers/egltrace.py            |   16 ++-
 wrappers/gltrace.hpp            |   30 ++++-
 wrappers/gltrace.py             |  275 ++++++++++++++++++++++++++++++++++++---
 wrappers/gltrace_state.cpp      |   71 ++++++++++
 wrappers/trace.py               |    9 ++
 29 files changed, 1057 insertions(+), 94 deletions(-)
 create mode 100644 common/os_workqueue.hpp
 create mode 100644 common/workqueue_posix.cpp
 create mode 100644 common/workqueue_win32.cpp
 create mode 100644 retrace/glretrace_state.cpp
 create mode 100644 wrappers/gltrace_state.cpp

-- 
1.7.5.4



More information about the apitrace mailing list