Skip to content

Commit 6e648e9

Browse files
committed
trace allocations in a file
1 parent a027ba3 commit 6e648e9

File tree

5 files changed

+164
-101
lines changed

5 files changed

+164
-101
lines changed

ext/mysqlnd/mysqlnd.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,10 @@ PHPAPI void _mysqlnd_get_client_stats(zval *return_value TSRMLS_DC ZEND_FILE_L
262262
ZEND_BEGIN_MODULE_GLOBALS(mysqlnd)
263263
zend_bool collect_statistics;
264264
zend_bool collect_memory_statistics;
265-
char* debug; /* The actual string */
266-
MYSQLND_DEBUG *dbg; /* The DBG object */
265+
char * debug; /* The actual string */
266+
char * trace_alloc_settings; /* The actual string */
267+
MYSQLND_DEBUG * dbg; /* The DBG object for standard tracing */
268+
MYSQLND_DEBUG * trace_alloc; /* The DBG object for allocation tracing */
267269
long net_cmd_buffer_size;
268270
long net_read_buffer_size;
269271
long log_mask;

0 commit comments

Comments
 (0)