Home
last modified time | relevance | path

Searched refs:trace_alloc (Results 1 – 3 of 3) sorted by relevance

/PHP-7.2/ext/mysqlnd/
H A Dphp_mysqlnd.c187 mysqlnd_globals->trace_alloc = NULL; in ZEND_DECLARE_MODULE_GLOBALS()
283 MYSQLND_DEBUG * trace_alloc = trace_log_plugin->methods.trace_instance_init(NULL); in PHP_RINIT_FUNCTION() local
284 if (!dbg || !trace_alloc) { in PHP_RINIT_FUNCTION()
288 trace_alloc->m->set_mode(trace_alloc, MYSQLND_G(trace_alloc_settings)); in PHP_RINIT_FUNCTION()
290 MYSQLND_G(trace_alloc) = trace_alloc; in PHP_RINIT_FUNCTION()
305 MYSQLND_DEBUG * trace_alloc = MYSQLND_G(trace_alloc); in PHP_RSHUTDOWN_FUNCTION() local
312 if (trace_alloc) { in PHP_RSHUTDOWN_FUNCTION()
313 trace_alloc->m->close(trace_alloc); in PHP_RSHUTDOWN_FUNCTION()
314 trace_alloc->m->free_handle(trace_alloc); in PHP_RSHUTDOWN_FUNCTION()
315 MYSQLND_G(trace_alloc) = NULL; in PHP_RSHUTDOWN_FUNCTION()
H A Dmysqlnd_debug.h194 #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 Dmysqlnd.h312 MYSQLND_DEBUG * trace_alloc; /* The DBG object for allocation tracing */ variable

Completed in 10 milliseconds