v1 -> v2 Valgrind can be enabled using property (persist.sys.bluetooth.valgrind) In userdebug/eng variants bluetoothd is renamed to bluetoothd-main and bluetoothd is simple wrapper to check property value and execute either bluetoothd-main or valgrind. This way using Valgrind is transparent from system point of view (we do not need to change init.bluetooth.rc, no special build flags and logcat still shows bluetoothd as tagname). Andrzej Kaczmarek (1): android: Add support for Valgrind in debug variants android/Android.mk | 42 +++++++++++++++++++++++++++++ android/bluetoothd-wrapper.c | 63 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 android/bluetoothd-wrapper.c -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html