[sr-dev] git:master:2ac50d04: tm: convert to PKG/SHM memory logging helper functions