Skip to content
Enhanced Valgrind for Persistent Memory
C C++ Assembly Makefile Perl M4 Other
Branch: pmem-3.15
Clone or download
marcinslusarz Merge pull request #73 from kkajrewicz/fix-memcheck
fix memcheck failure on Ubuntu-19.04
Latest commit c27a8a2 Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
VEX Remove PCOMMIT support. May 29, 2019
auxprogs Add (minimal) manual page for valgrind-di-server. Apr 7, 2019
cachegrind common: finish new isa support implementation May 29, 2019
callgrind common: finish new isa support implementation May 29, 2019
coregrind Try objpath without /usr if the debug file can't be found. Jun 25, 2019
dhat dhat is broken on x86 (32bit) Apr 10, 2019
docs pmemcheck: initial version of the pmemcheck tool May 29, 2019
drd
exp-bbv Fix 338252 - building valgrind with -flto (link time optimisation) fails Mar 18, 2018
exp-sgcheck common: finish new isa support implementation May 29, 2019
gdbserver_tests
helgrind Remove PCOMMIT support. May 29, 2019
include
lackey common: finish new isa support implementation May 29, 2019
massif Fix broken links in the Massif manual. Apr 8, 2019
memcheck memcheck: update addressable stderr exp May 29, 2019
mpi Update copyright end year to 2017 in preparation for 3.13 release. May 4, 2017
nightly Reduce lfedora1.sendmail diff lines. Aug 29, 2017
none none/tests/amd64-linux/map_32bits.vgtest fails too easily Apr 11, 2019
perf New command line option "--terse" for vg_perf. Jul 22, 2017
pmemcheck pmemcheck: add missing 'DiEpoch ep' argument May 29, 2019
shared Bug 401627 - Add wcsncmp override and testcase. Dec 6, 2018
solaris Overhaul DHAT. Feb 1, 2019
tests tests: add pmemcheck to check_headers_and_includes May 29, 2019
.dir-locals.el Add Emacs configuration files Dec 6, 2018
.gitignore pmemcheck: update .gitignore May 29, 2019
.travis.yml Downgrade Docker image to Ubuntu Precise. May 29, 2019
AUTHORS Update AUTHORS Sep 10, 2017
COPYING Update COPYING and COPYING.DOCS with new FSF address. Sep 4, 2015
COPYING.DOCS Update COPYING and COPYING.DOCS with new FSF address. Sep 4, 2015
Makefile.all.am Use gcc -Wimplicit-fallthrough=2 by default if available Mar 27, 2019
Makefile.am
Makefile.tool-tests.am mips64: add N32 ABI support Jun 14, 2018
Makefile.tool.am Remove TileGX/Linux port. May 8, 2017
Makefile.vex.am mips: code refactoring (NFC) Mar 27, 2019
NEWS
NEWS.old Move older news into its own file, NEWS.old, so as not to overrun TeX Aug 8, 2012
README Misc doc updates for upcoming 3.15.0 release. Apr 8, 2019
README.aarch64 Enable vgdb ptrace invoker for aarch64. May 17, 2014
README.android Fix documentation of command line flag Nov 6, 2015
README.android_emulator Fix documentation of command line flag Nov 6, 2015
README.md Remove PCOMMIT support. May 29, 2019
README.mips mips: update README.mips Feb 26, 2016
README.s390 Bug 385411 s390x: Tests and internals for z13 vector FP support Nov 30, 2018
README.solaris Document Solaris kernel interfaces used. Not exhaustive list. Aug 3, 2017
README_DEVELOPERS
README_DEVELOPERS_processes
README_MISSING_SYSCALL_OR_IOCTL
README_PACKAGERS Fix 338252 - building valgrind with -flto (link time optimisation) fails Mar 18, 2018
autogen.sh Revert r12195 because it triggers suspicious error messages on system… Oct 22, 2011
bionic.supp Initial suppressions from Android 2.3.5 (on ARM). Sep 26, 2011
configure.ac
darwin10-drd.supp drd, Darwin: Generalize a suppression pattern Mar 31, 2013
darwin10.supp memcheck, Darwin 10: Add a suppression pattern Apr 1, 2013
darwin11.supp Silence some system library leaks on OS X 10.7. These same leaks sile… Jun 5, 2015
darwin12.supp valgrind --leak-check=full memleak errors from system libraries on OS… May 7, 2015
darwin13.supp Darwin13.supp should include suppression for known uninitialised read… Jan 9, 2015
darwin14.supp Fix syscall param msg->desc.port.name on macOS 10.12. bz#379373 Sep 10, 2017
darwin15.supp Fix syscall param msg->desc.port.name on macOS 10.12. bz#379373 Sep 10, 2017
darwin16.supp
darwin17.supp Preliminary support for Darwin 17.x (macOS 10.13) Oct 1, 2017
darwin9-drd.supp Merged the MACOSX106 branch to the trunk. Merge command: Jul 1, 2010
darwin9.supp Another supp for 10.5.x. Aug 31, 2010
exp-sgcheck.supp Fedora 17 is merging /lib into /usr/lib so any suppression which Feb 23, 2012
glibc-2.2-LinuxThreads-helgrind.supp Add some Helgrind suppressions for LinuxThreads. Nov 11, 2007
glibc-2.2.supp Remove old Helgrind suppressions. Nov 10, 2007
glibc-2.3.supp
glibc-2.34567-NPTL-helgrind.supp add suppression for helgrind/tests/tc22_exit_w_lock Feb 3, 2017
glibc-2.4.supp Supps for MVL 4.0.1 on ppc32 (Bart Van Assche) Jan 5, 2007
glibc-2.5.supp Supps for MVL 4.0.1 on ppc32 (Bart Van Assche) Jan 5, 2007
glibc-2.6.supp Even more suppressions for glibc-2.6. Nov 13, 2007
glibc-2.7.supp Preliminary support for Fedora 8, which includes initial support for Nov 18, 2007
glibc-2.X-drd.supp Add DRD suppression patterns for races triggered by std::ostream Mar 18, 2018
glibc-2.X.supp.in Suppress _dl_runtime_resolve_avx_slow for memcheck conditional. Oct 20, 2017
solaris11.supp Bug 345248 - add support for Solaris OS in valgrind Jul 21, 2015
solaris12.supp
valgrind.pc.in Fix valt_load_address value in pkgconfig file. Oct 4, 2012
valgrind.spec.in
vg-in-place
xfree-3.supp Completely overhauled the internals of Memcheck's error handling. All… Dec 16, 2006
xfree-4.supp Generalise X11 suppressions somewhat, and add a suppression needed for Jan 8, 2010

README.md

Valgrind: an enhanced version for pmem

Build Status

This is the top-level README.md the enhanced version on Valgrind. This version has support for the new CLFLUSHOPT and CLWB instructions. It also introduces a new tool called pmemcheck which validates the correctness of stores made to persistent memory. Be aware that this is still a prototype tool.

Please see the file COPYING for information on the license.

The layout is identical to the original Valgrind. The new tool is available in:

  • pmemcheck -- the new persistent memory aware tool

All packages necessary to build this modified version of Valgrind are the same as for the original version.

Once the build system is setup, Valgrind is built using these command at the top level:

	$ ./autogen.sh
	$ ./configure [--prefix=/where/to/install]
	$ make

To build tests:

	$ make check

To run all regression tests:

	$ make regtest

To run pmemcheck tests only:

	$ perl tests/vg_regtest pmemcheck

To install Valgrind run (possibly as root if destination permissions require that):

	$ make install

For more information on Valgrind please refer to the original README files and the documentation which is available at:

	$PREFIX/share/doc/valgrind/manual.html

Where $PREFIX is the path specified with --prefix to configure.

For information on how to run the new tool refer to the appropriate part of the documentation or type:

	$ valgrind --tool=pmemcheck --help

For more information on the modifications made to Valgrind contact Marcin Slusarz (marcin.slusarz@intel.com) or Andy Rudoff (andy.rudoff@intel.com).

You can’t perform that action at this time.