How to print store logs when run unit tests?

17 views
Skip to first unread message

Phil Huang

unread,
Mar 29, 2022, 1:03:01 PM3/29/22
to pmem

I usually run valgrind --tool=pmemcheck --log-stores=yes --log-stores-stacktraces-depth=2 to take a look at the logged stores/flushes/etc info. However, when run the unit tests under src/test/, for example: /RUNTESTS obj_constructor -b debug -p force-enable -s TEST0 .

How to add "--log-stores=yes --log-stores-stacktraces-depth=2" into it?

Thank you.

Reply all
Reply to author
Forward
0 new messages