From 93f2a4edd37c0c7d85b6f7cb099fba9108b53f48 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 12 Apr 2020 11:00:21 +0200 Subject: [PATCH] Kernel: Bump the max stack frame count in sample profiles to 50 Maybe this should be configurable, who knows. For now, 50 works a bit better for highly nested scenarios like LibJS. --- Kernel/Profiling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Profiling.h b/Kernel/Profiling.h index dc419a34a6..f3ffb441f4 100644 --- a/Kernel/Profiling.h +++ b/Kernel/Profiling.h @@ -36,7 +36,7 @@ class Process; namespace Profiling { -constexpr size_t max_stack_frame_count = 30; +constexpr size_t max_stack_frame_count = 50; struct Sample { i32 pid;