From: Serhei Makarov Date: Sat, 8 Jun 2024 18:41:21 +0000 (-0400) Subject: eu-stacktrace WIP: maxframes only used with HAVE_SYSPROF_HEADERS X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=834b3aa2eaaa7da3bed2c43e12c9352fabbac2cb;p=thirdparty%2Felfutils.git eu-stacktrace WIP: maxframes only used with HAVE_SYSPROF_HEADERS --- 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;