mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-01 17:10:42 +00:00
DEBUG/MINOR: memory: add a build option to disable memory pools sharing
Sometimes analysing a core file isn't easy due to shared memory pools. Let's add a build option to disable this. It's not enabled by default, it could be backported to older versions.
This commit is contained in:
parent
edb93a7c28
commit
a84dcb8440
@ -28,7 +28,11 @@
|
||||
#include <common/config.h>
|
||||
#include <common/mini-clist.h>
|
||||
|
||||
#ifndef DEBUG_DONT_SHARE_POOLS
|
||||
#define MEM_F_SHARED 0x1
|
||||
#else
|
||||
#define MEM_F_SHARED 0
|
||||
#endif
|
||||
|
||||
struct pool_head {
|
||||
void **free_list;
|
||||
|
Loading…
Reference in New Issue
Block a user