Profile histogram size after each added tree

I’m training on a large dataset with distributed XGBoost, and I wanted to profile how large the feature histogram (local and global) is after each tree that’s added in the forest. Is there any way of accessing that feature histogram and saving it out after each tree is added? Thanks in advance!