summaryrefslogtreecommitdiff
path: root/storage/innobase/log
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/log')
-rw-r--r--storage/innobase/log/log0log.cc4
-rw-r--r--storage/innobase/log/log0recv.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/log/log0log.cc b/storage/innobase/log/log0log.cc
index de6e51bd2ea..7e291c8d8df 100644
--- a/storage/innobase/log/log0log.cc
+++ b/storage/innobase/log/log0log.cc
@@ -127,7 +127,7 @@ void log_buffer_extend(ulong len)
{
const size_t new_buf_size = ut_calc_align(len, srv_page_size);
byte* new_buf = static_cast<byte*>(
- ut_malloc_dontdump(new_buf_size * 2));
+ ut_malloc_dontdump(new_buf_size * 2, PSI_INSTRUMENT_ME));
TRASH_ALLOC(new_buf, new_buf_size * 2);
log_mutex_enter();
@@ -508,7 +508,7 @@ void log_t::create()
ut_ad(srv_log_buffer_size >= 16 * OS_FILE_LOG_BLOCK_SIZE);
ut_ad(srv_log_buffer_size >= 4U << srv_page_size_shift);
- buf= static_cast<byte*>(ut_malloc_dontdump(srv_log_buffer_size * 2));
+ buf= static_cast<byte*>(ut_malloc_dontdump(srv_log_buffer_size * 2, PSI_INSTRUMENT_ME));
TRASH_ALLOC(buf, srv_log_buffer_size * 2);
first_in_use= true;
diff --git a/storage/innobase/log/log0recv.cc b/storage/innobase/log/log0recv.cc
index c6211acb5a5..9dd54c945b9 100644
--- a/storage/innobase/log/log0recv.cc
+++ b/storage/innobase/log/log0recv.cc
@@ -1008,7 +1008,7 @@ void recv_sys_t::create()
apply_batch_on = false;
max_log_blocks = buf_pool_get_n_pages() / 3;
- buf = static_cast<byte*>(ut_malloc_dontdump(RECV_PARSING_BUF_SIZE));
+ buf = static_cast<byte*>(ut_malloc_dontdump(RECV_PARSING_BUF_SIZE, PSI_INSTRUMENT_ME));
len = 0;
parse_start_lsn = 0;
scanned_lsn = 0;