Callstack context: bump number of entries to 128
[lttng-modules.git] / lttng-context-callstack.c
index bdc1761ee705669ad8d7c95c8edeede0b434cb34..fd730bbc164090bdaf9ef708a4265894de2154a7 100644 (file)
@@ -32,7 +32,7 @@
  *
  *   size = cpus * nest * depth * sizeof(unsigned long)
  *
- * Which is about 800 bytes per CPU on 64-bit host and a depth of 25.
+ * Which is 4096 bytes per CPU on 64-bit host and a depth of 128.
  * The allocation is done at the initialization to avoid memory
  * allocation overhead while tracing, using a shallow stack.
  *
@@ -62,7 +62,7 @@
 #include "wrapper/vmalloc.h"
 #include "lttng-tracer.h"
 
-#define MAX_ENTRIES 25
+#define MAX_ENTRIES 128
 
 enum lttng_cs_ctx_modes {
        CALLSTACK_KERNEL = 0,
This page took 0.023579 seconds and 4 git commands to generate.