summaryrefslogtreecommitdiffstats
path: root/src/H5PB.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-16 20:02:15 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-16 20:02:15 (GMT)
commit6bf7e1cadab7448255cb11399afdb4f66ab24666 (patch)
tree67d947c67d53072b24b8f932d2bb69ec73aaf2d9 /src/H5PB.c
parentf51f69faad3f43132e568c905147f6be8e77b41a (diff)
downloadhdf5-6bf7e1cadab7448255cb11399afdb4f66ab24666.zip
hdf5-6bf7e1cadab7448255cb11399afdb4f66ab24666.tar.gz
hdf5-6bf7e1cadab7448255cb11399afdb4f66ab24666.tar.bz2
Log page-buffer reads and writes no matter what storage type. (Used to
log only the global heap-type reads and writes.)
Diffstat (limited to 'src/H5PB.c')
-rw-r--r--src/H5PB.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/H5PB.c b/src/H5PB.c
index e536c58..96c7043 100644
--- a/src/H5PB.c
+++ b/src/H5PB.c
@@ -1063,10 +1063,8 @@ H5PB_read(H5F_shared_t *shared, H5FD_mem_t type, haddr_t addr, size_t size,
FUNC_ENTER_NOAPI(FAIL)
- if (type == H5FD_MEM_GHEAP) {
- hlog_fast(pbrd, "%s(%p, type %d, %" PRIuHADDR " size %zu)",
- __func__, (void *)shared, type, addr, size);
- }
+ hlog_fast(pbrd, "%s %p type %d %" PRIuHADDR " size %zu",
+ __func__, (void *)shared, type, addr, size);
pb_ptr = shared->pb_ptr;
@@ -1908,10 +1906,8 @@ H5PB_write(H5F_shared_t *shared, H5FD_mem_t type, haddr_t addr, size_t size,
FUNC_ENTER_NOAPI(FAIL)
- if (type == H5FD_MEM_GHEAP) {
- hlog_fast(pbwr, "%s(%p, type %d, %" PRIuHADDR " size %zu)",
- __func__, (void *)shared, type, addr, size);
- }
+ hlog_fast(pbwr, "%s %p type %d %" PRIuHADDR " size %zu",
+ __func__, (void *)shared, type, addr, size);
pb_ptr = shared->pb_ptr;