[sysprof] libsysprof-capture: reduce max stack depth



commit 2a457f25ec1b7f3ddc47d89bf5404bb9f7935375
Author: Christian Hergert <chergert redhat com>
Date:   Sun Feb 16 20:49:18 2020 -0800

    libsysprof-capture: reduce max stack depth
    
    128 is a bit much and can slow us down considerably with user-space stack
    traces. This can mess up the tree a bit, but we can alter how we view
    things later on if we need to so that it is easier to read.

 src/libsysprof-capture/sysprof-capture-writer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libsysprof-capture/sysprof-capture-writer.c b/src/libsysprof-capture/sysprof-capture-writer.c
index c83dbc0..5d8b38a 100644
--- a/src/libsysprof-capture/sysprof-capture-writer.c
+++ b/src/libsysprof-capture/sysprof-capture-writer.c
@@ -78,7 +78,7 @@
 #define DEFAULT_BUFFER_SIZE (_sysprof_getpagesize() * 64L)
 #define INVALID_ADDRESS     (G_GUINT64_CONSTANT(0))
 #define MAX_COUNTERS        ((1 << 24) - 1)
-#define MAX_UNWIND_DEPTH    128
+#define MAX_UNWIND_DEPTH    64
 
 typedef struct
 {


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