Answering for anyone else wondering this:
valgrind has a tool called lackey (https://www.cs.cmu.edu/afs/cs.cmu.edu/project/cmt-40/Nice/RuleRefinement/bin/valgrind-3.2.0/docs/html/lk-manual.html) which has an option --trace-mem=yes
that will perform a memory trace:
valgrind --tool=lackey --trace-mem=yes --log-file=<log file> <app>