Searched refs:trace_alloc (Results 1 – 3 of 3) sorted by relevance
/PHP-8.1/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 149 mysqlnd_globals->trace_alloc = NULL; in ZEND_DECLARE_MODULE_GLOBALS() 221 MYSQLND_DEBUG * trace_alloc = trace_log_plugin->methods.trace_instance_init(NULL); in PHP_RINIT_FUNCTION() local 222 if (!dbg || !trace_alloc) { in PHP_RINIT_FUNCTION() 226 trace_alloc->m->set_mode(trace_alloc, MYSQLND_G(trace_alloc_settings)); in PHP_RINIT_FUNCTION() 228 MYSQLND_G(trace_alloc) = trace_alloc; in PHP_RINIT_FUNCTION() 242 MYSQLND_DEBUG * trace_alloc = MYSQLND_G(trace_alloc); in PHP_RSHUTDOWN_FUNCTION() local 249 if (trace_alloc) { in PHP_RSHUTDOWN_FUNCTION() 250 trace_alloc->m->close(trace_alloc); in PHP_RSHUTDOWN_FUNCTION() 251 trace_alloc->m->free_handle(trace_alloc); in PHP_RSHUTDOWN_FUNCTION() 252 MYSQLND_G(trace_alloc) = NULL; in PHP_RSHUTDOWN_FUNCTION()
|
H A D | mysqlnd_debug.h | 194 #define TRACE_ALLOC_INF(msg) DBG_INF_EX(MYSQLND_G(trace_alloc), (msg)) 195 #define TRACE_ALLOC_ERR(msg) DBG_ERR_EX(MYSQLND_G(trace_alloc), (msg)) 196 #define TRACE_ALLOC_INF_FMT(...) DBG_INF_FMT_EX(MYSQLND_G(trace_alloc), __VA_ARGS__) 197 #define TRACE_ALLOC_ERR_FMT(...) DBG_ERR_FMT_EX(MYSQLND_G(trace_alloc), __VA_ARGS__) 199 #define TRACE_ALLOC_ENTER(func_name) DBG_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (func_na… 200 #define TRACE_ALLOC_BLOCK_ENTER(bname) DBG_BLOCK_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), … 201 #define TRACE_ALLOC_RETURN(value) DBG_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (value)) 202 #define TRACE_ALLOC_VOID_RETURN DBG_VOID_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc)) 203 #define TRACE_ALLOC_BLOCK_LEAVE DBG_BLOCK_LEAVE_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc))
|
H A D | mysqlnd.h | 301 MYSQLND_DEBUG * trace_alloc; /* The DBG object for allocation tracing */ variable
|
Completed in 11 milliseconds