summaryrefslogtreecommitdiff
path: root/Kernel/Profiling.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-12 11:00:21 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-12 11:00:38 +0200
commit93f2a4edd37c0c7d85b6f7cb099fba9108b53f48 (patch)
tree2835620c9ff1ff13db3861274b4ef83d74ed2aa1 /Kernel/Profiling.h
parentff33c5b28697ceec1bb6ff5360d9aa4981b33735 (diff)
downloadserenity-93f2a4edd37c0c7d85b6f7cb099fba9108b53f48.zip
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.
Diffstat (limited to 'Kernel/Profiling.h')
-rw-r--r--Kernel/Profiling.h2
1 files changed, 1 insertions, 1 deletions
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;