mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-07 10:18:01 +00:00
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.
This commit is contained in:
parent
20ffa35f66
commit
da5cf52173
@ -157,6 +157,8 @@ struct post_mortem {
|
|||||||
struct list *pools; // pointer to the head of the pools list
|
struct list *pools; // pointer to the head of the pools list
|
||||||
struct proxy **proxies; // pointer to the head of the proxies list
|
struct proxy **proxies; // pointer to the head of the proxies list
|
||||||
struct global *global; // pointer to the struct global
|
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).
|
/* info about identified distinct components (executable, shared libs, etc).
|
||||||
* These can be all listed at once in gdb using:
|
* 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.pools = &pools;
|
||||||
post_mortem.proxies = &proxies_list;
|
post_mortem.proxies = &proxies_list;
|
||||||
post_mortem.global = &global;
|
post_mortem.global = &global;
|
||||||
|
post_mortem.fdtab = &fdtab;
|
||||||
|
post_mortem.activity = activity;
|
||||||
|
|
||||||
return ERR_NONE;
|
return ERR_NONE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user