[sysprof] preload: define UNW_LOCAL_ONLY for libunwind



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]