[sysprof] preload: dont track stack for free



commit ba2f6dfa54ed2d159840f311567760ab7a378a01
Author: Christian Hergert <chergert redhat com>
Date:   Sun Feb 16 21:01:52 2020 -0700

    preload: dont track stack for free
    
    Ideally we'll use this later on for temporary allocations, but we can be
    time based on that rather than similar stacks.

 src/libsysprof/preload/sysprof-memory-collector.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof/preload/sysprof-memory-collector.c 
b/src/libsysprof/preload/sysprof-memory-collector.c
index 4b11877..1b7785c 100644
--- a/src/libsysprof/preload/sysprof-memory-collector.c
+++ b/src/libsysprof/preload/sysprof-memory-collector.c
@@ -187,7 +187,7 @@ track_free (void *ptr)
   if G_LIKELY (ptr && collector_ready)
     sysprof_collector_allocate (GPOINTER_TO_SIZE (ptr),
                                 0,
-                                backtrace_func,
+                                NULL,
                                 NULL);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]