* [PATCH] android/README: Add note on libglib under Valgrind
@ 2014-02-12 19:23 Andrzej Kaczmarek
2014-02-19 19:28 ` Szymon Janc
0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Kaczmarek @ 2014-02-12 19:23 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Andrzej Kaczmarek
---
android/README | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/android/README b/android/README
index 75b0a83..3095383 100644
--- a/android/README
+++ b/android/README
@@ -124,6 +124,12 @@ 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.
+It's recommended to have unstripped libglib.so installed which will enable
+complete backtraces in Valgrind output. Otherwise, in many cases backtrace
+will break at e.g. g_free() function without prior callers. It's possible to
+have proper library installed automatically by appropriate entry in Android.mk,
+see https://code.google.com/p/aosp-bluez.glib/ for an example.
+
=============================
Building and running on Linux
=============================
--
1.8.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] android/README: Add note on libglib under Valgrind
2014-02-12 19:23 [PATCH] android/README: Add note on libglib under Valgrind Andrzej Kaczmarek
@ 2014-02-19 19:28 ` Szymon Janc
0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-02-19 19:28 UTC (permalink / raw)
To: Andrzej Kaczmarek; +Cc: linux-bluetooth
Hi Andrzej,
On Wednesday 12 February 2014 20:23:47 Andrzej Kaczmarek wrote:
> ---
> android/README | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/android/README b/android/README
> index 75b0a83..3095383 100644
> --- a/android/README
> +++ b/android/README
> @@ -124,6 +124,12 @@ 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.
>
> +It's recommended to have unstripped libglib.so installed which will enable
> +complete backtraces in Valgrind output. Otherwise, in many cases backtrace
> +will break at e.g. g_free() function without prior callers. It's possible
> to +have proper library installed automatically by appropriate entry in
> Android.mk, +see https://code.google.com/p/aosp-bluez.glib/ for an example.
> +
> =============================
> Building and running on Linux
> =============================
Applied, thanks.
--
Szymon K. Janc
szymon.janc@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-19 19:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12 19:23 [PATCH] android/README: Add note on libglib under Valgrind Andrzej Kaczmarek
2014-02-19 19:28 ` Szymon Janc
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.