[PATCH 1/8] perf tools: add on_exit implementation

2012-10-08 Thread Irina Tirdea
From: Bernhard Rosenkraenzer on_exit() is only available in new versions of glibc. It is not implemented in Bionic and will lead to linking errors when compiling for Android. Implement a wrapper for on_exit using atexit. The implementation for on_exit is the one sent by Bernhard Rosenkraenzer

[PATCH 1/8] perf tools: add on_exit implementation

2012-10-08 Thread Irina Tirdea
From: Bernhard Rosenkraenzer bernhard.rosenkran...@linaro.org on_exit() is only available in new versions of glibc. It is not implemented in Bionic and will lead to linking errors when compiling for Android. Implement a wrapper for on_exit using atexit. The implementation for on_exit is the one