From: Willy Tarreau Date: Mon, 28 Oct 2024 06:44:14 +0000 (+0100) Subject: MINOR: debug: also add fdtab and acitvity to struct post_mortem X-Git-Tag: v3.1-dev11~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5cf52173853bcacb12c6ebb045fe395d4b3ba6;p=thirdparty%2Fhaproxy.git MINOR: debug: also add fdtab and acitvity to struct post_mortem These ones are often used as well when trying to analyse sequences of events, let's add them. --- diff --git a/src/debug.c b/src/debug.c index 02fd710009..299fe93875 100644 --- a/src/debug.c +++ b/src/debug.c @@ -157,6 +157,8 @@ struct post_mortem { struct list *pools; // pointer to the head of the pools list struct proxy **proxies; // pointer to the head of the proxies list struct global *global; // pointer to the struct global + struct fdtab **fdtab; // pointer to the fdtab array + struct activity *activity; // pointer to the activity[] per-thread array /* info about identified distinct components (executable, shared libs, etc). * These can be all listed at once in gdb using: @@ -2566,6 +2568,8 @@ static int feed_post_mortem() post_mortem.pools = &pools; post_mortem.proxies = &proxies_list; post_mortem.global = &global; + post_mortem.fdtab = &fdtab; + post_mortem.activity = activity; return ERR_NONE; }