[Mesa-dev] [PATCH 2/2] gallium/util: Android backtrace support

Rob Herring robh at kernel.org
Fri Apr 13 15:46:19 UTC 2018


On Wed, Mar 28, 2018 at 5:19 PM, Stefan Schake <stschake at gmail.com> wrote:
> We can't use any of the existing implementations in u_debug_stack.
> Android technically has libunwind, but it's been modified to the point
> where it no longer compiles with the Mesa usage. The library is also
> not meant to be referenced by vendor libraries. The officially sanctioned
> way of obtaining backtraces is through the Android own libbacktrace, a
> C++ library. Access it through a separate C++ source file on Android only.
>
> Signed-off-by: Stefan Schake <stschake at gmail.com>
> ---
>  src/gallium/auxiliary/Android.mk                   |   3 +-
>  .../auxiliary/util/u_debug_stack_android.cpp       | 111 +++++++++++++++++++++
>  src/gallium/targets/dri/Android.mk                 |   1 +
>  3 files changed, 114 insertions(+), 1 deletion(-)
>  create mode 100644 src/gallium/auxiliary/util/u_debug_stack_android.cpp

Reviewed-by: Rob Herring <robh at kernel.org>


More information about the mesa-dev mailing list