[sysprof] preload: define UNW_LOCAL_ONLY for libunwind
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] preload: define UNW_LOCAL_ONLY for libunwind
- Date: Mon, 17 Feb 2020 00:45:17 +0000 (UTC)
commit 2329a6e25e84fc51f74dfb3c920978e6140f9b64
Author: Christian Hergert <chergert redhat com>
Date: Sun Feb 16 16:44:57 2020 -0800
preload: define UNW_LOCAL_ONLY for libunwind
src/libsysprof/preload/sysprof-memory-collector.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/libsysprof/preload/sysprof-memory-collector.c
b/src/libsysprof/preload/sysprof-memory-collector.c
index a9b81ac..4b11877 100644
--- a/src/libsysprof/preload/sysprof-memory-collector.c
+++ b/src/libsysprof/preload/sysprof-memory-collector.c
@@ -7,6 +7,7 @@
# include <execinfo.h>
#endif
#ifdef ENABLE_LIBUNWIND
+# define UNW_LOCAL_ONLY
# include <libunwind.h>
#endif
#include <sched.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]