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.
This commit is contained in:
Andreas Kling 2020-04-12 11:00:21 +02:00
parent ff33c5b286
commit 93f2a4edd3

View file

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