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.
This commit is contained in:
Christian Hergert
2020-02-16 20:49:18 -08:00
parent 63f781eef9
commit 2a457f25ec

View File

@ -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
{