mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
perfschema memory related instrumentation changes
This commit is contained in:
@@ -68,14 +68,14 @@ do \
|
||||
else \
|
||||
{ \
|
||||
(must_be_freed)= 1; \
|
||||
(res)= my_malloc(size, MYF(MY_THREAD_SPECIFIC | MY_WME)); \
|
||||
(res)= my_malloc(PSI_INSTRUMENT_ME, size, MYF(MY_THREAD_SPECIFIC | MY_WME)); \
|
||||
} \
|
||||
} while(0)
|
||||
#else
|
||||
#define alloc_on_stack(stack_end, res, must_be_freed, size) \
|
||||
do { \
|
||||
(must_be_freed)= 1; \
|
||||
(res)= my_malloc(size, MYF(MY_THREAD_SPECIFIC | MY_WME)); \
|
||||
(res)= my_malloc(PSI_INSTRUMENT_ME, size, MYF(MY_THREAD_SPECIFIC | MY_WME)); \
|
||||
} while(0)
|
||||
#endif /* HAVE_ALLOCA */
|
||||
|
||||
|
Reference in New Issue
Block a user