[sysprof/wip/chergert/control-fd] preload: remove atomic
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/control-fd] preload: remove atomic
- Date: Wed, 12 Feb 2020 01:08:39 +0000 (UTC)
commit bb997f3b0401ba0dc8f3ca2a29b9abc7b76b53e9
Author: Christian Hergert <chergert redhat com>
Date: Tue Feb 11 17:07:37 2020 -0800
preload: remove atomic
src/libsysprof/preload/sysprof-memory-collector.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/libsysprof/preload/sysprof-memory-collector.c
b/src/libsysprof/preload/sysprof-memory-collector.c
index 420a8ed..42a16d7 100644
--- a/src/libsysprof/preload/sysprof-memory-collector.c
+++ b/src/libsysprof/preload/sysprof-memory-collector.c
@@ -62,7 +62,7 @@ static void
collector_init_ctor (void)
{
sysprof_collector_init ();
- g_atomic_int_set (&collector_ready, TRUE);
+ collector_ready = TRUE;
}
static guint
@@ -70,7 +70,8 @@ backtrace_func (SysprofCaptureAddress *addrs,
guint n_addrs,
gpointer user_data)
{
-#if defined(ENABLE_LIBUNWIND)
+#if 0
+//#if defined(ENABLE_LIBUNWIND)
unw_context_t uc;
unw_cursor_t cursor;
unw_word_t ip;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]