From 834b3aa2eaaa7da3bed2c43e12c9352fabbac2cb Mon Sep 17 00:00:00 2001 From: Serhei Makarov Date: Sat, 8 Jun 2024 14:41:21 -0400 Subject: [PATCH] eu-stacktrace WIP: maxframes only used with HAVE_SYSPROF_HEADERS --- src/stacktrace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stacktrace.c b/src/stacktrace.c index 6a6facd6..0552f884 100644 --- a/src/stacktrace.c +++ b/src/stacktrace.c @@ -122,11 +122,11 @@ typedef struct } SysprofCaptureUserRegs SYSPROF_ALIGNED_END(1); +static int maxframes = 256; + #endif /* SYSPROF_CAPTURE_FRAME_STACK_USER */ #endif /* HAVE_SYSPROF_HEADERS */ -static int maxframes = 256; - static char *input_path = NULL; static int input_fd = -1; static char *output_path = NULL; -- 2.47.2