Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] android/README: Add Valgrind description
@ 2014-02-11 11:43 Andrzej Kaczmarek
  2014-02-11 16:34 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Kaczmarek @ 2014-02-11 11:43 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Andrzej Kaczmarek

---
 android/README | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/android/README b/android/README
index e3c314f..c7145d5 100644
--- a/android/README
+++ b/android/README
@@ -108,6 +108,22 @@ be found at https://backports.wiki.kernel.org. Sample kernels using backports
 for running BlueZ on Android are available at
 https://code.google.com/p/aosp-bluez.
 
+Running with Valgrind
+=====================
+
+BlueZ for Android is preconfigured to be easily run under Valgrind memcheck.
+Appropriate configuration and required modules are automatically included when
+building either userdebug or eng variant of Android platform.
+
+Valgrind can be enabled in runtime by setting "persist.sys.bluetooth.valgrind"
+property to either literal "true" or any numeric value >0. For example:
+adb root
+adb shell setprop persist.sys.bluetooth.valgrind true
+
+After changing property value Bluetooth need to be restarted to apply changes
+(this can be done using UI, just disable and enable it again). Property is
+persistent, i.e. there's no need to enable Valgrind again after reboot.
+
 =============================
 Building and running on Linux
 =============================
-- 
1.8.5.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] android/README: Add Valgrind description
  2014-02-11 11:43 [PATCH] android/README: Add Valgrind description Andrzej Kaczmarek
@ 2014-02-11 16:34 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-02-11 16:34 UTC (permalink / raw)
  To: Andrzej Kaczmarek; +Cc: linux-bluetooth

Hi Andrzej,

On Tuesday 11 of February 2014 12:43:53 Andrzej Kaczmarek wrote:
> ---
>  android/README | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/android/README b/android/README
> index e3c314f..c7145d5 100644
> --- a/android/README
> +++ b/android/README
> @@ -108,6 +108,22 @@ be found at https://backports.wiki.kernel.org. Sample
> kernels using backports for running BlueZ on Android are available at
>  https://code.google.com/p/aosp-bluez.
> 
> +Running with Valgrind
> +=====================
> +
> +BlueZ for Android is preconfigured to be easily run under Valgrind
> memcheck. +Appropriate configuration and required modules are automatically
> included when +building either userdebug or eng variant of Android
> platform.
> +
> +Valgrind can be enabled in runtime by setting
> "persist.sys.bluetooth.valgrind" +property to either literal "true" or any
> numeric value >0. For example: +adb root
> +adb shell setprop persist.sys.bluetooth.valgrind true
> +
> +After changing property value Bluetooth need to be restarted to apply
> changes +(this can be done using UI, just disable and enable it again).
> Property is +persistent, i.e. there's no need to enable Valgrind again
> after reboot. +
>  =============================
>  Building and running on Linux
>  =============================

Pushed, thanks.

-- 
BR
Szymon Janc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-11 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 11:43 [PATCH] android/README: Add Valgrind description Andrzej Kaczmarek
2014-02-11 16:34 ` Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox