diff options
author | Edward Rudd <urkle@outoforder.cc> | 2013-11-21 17:01:32 -0500 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2013-11-29 17:22:27 +0000 |
commit | 21cdb5234fc2b0a7d2bd68e810f9df85464709ee (patch) | |
tree | 0c7ea45e83ac83246f820ed3c0e12ad646a8c7ae /README.markdown | |
parent | c8aa61f6de9b987957ecf7f5ce6c59b21b032e0f (diff) |
add some basic documentation to the backtrace capturing functionality to the README.
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown index 47f27b86..a08886d8 100644 --- a/README.markdown +++ b/README.markdown @@ -67,6 +67,24 @@ You can also tell the GUI to go directly to a specific call qapitrace application.trace 12345 +Backtrace Capturing +=================== + +apitrace now has the ability to capture the call stack to an OpenGL call. +This can be helpful in determing which piece of code made that glDrawArrays call. + +*NOTE* this feature is currently only available on Android and Linux at the moment. + +On linux you need to have libunwind, and libdwarf installed to compile in the feature. + +To use the feature you need to set an environment variable with the list of GL +call prefixes you wish to capture stack traces to. + + export APITRACE_BACKTRACE="glDraw* glUniform*" + +The backtrace data will show up in qapitrace in the bottom section as a new tab. + + Advanced command line usage =========================== |