Datagrind is a valgrind tool that captures all read and write accesses made by a program and records them in a log file.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
VEX @ cc5991d
auxprogs
cachegrind
callgrind
coregrind
docs
drd
exp-bbv
exp-datagrind
exp-dhat
exp-ptrcheck
helgrind
include
lackey
massif
memcheck
mpi
nightly
none
perf
tests
.gitignore
.gitmodules
AUTHORS
COPYING
COPYING.DOCS
Makefile.all.am
Makefile.am
Makefile.tool-tests.am
Makefile.tool.am
Makefile.vex.am
NEWS
README.Valgrind
README.md
README_DEVELOPERS
README_MISSING_SYSCALL_OR_IOCTL
README_PACKAGERS
aix5libc.supp
autogen.sh
configure.in
darwin10-drd.supp
darwin10.supp
darwin9-drd.supp
darwin9.supp
exp-ptrcheck.supp
glibc-2.2-LinuxThreads-helgrind.supp
glibc-2.2.supp
glibc-2.3.supp
glibc-2.34567-NPTL-helgrind.supp
glibc-2.4.supp
glibc-2.5.supp
glibc-2.6.supp
glibc-2.7.supp
glibc-2.X-drd.supp
glibc-2.X.supp.in
valgrind.pc.in
valgrind.spec.in
vg-in-place
xfree-3.supp
xfree-4.supp

README.md

Datagrind is a valgrind tool that captures all read and write accesses made by a program and records them in a log file. A separate tool (dg_view), can then be used to visually represent the reads and writes.

It is currently suffering from bit-rot, and will not run on modern Linux systems. It needs to be ported to a newer version of Valgrind to work again.

To get started, run

git clone https://github.com/bmerry/datagrind.git
cd datagrind
git submodule update --init
./autogen.sh
./configure
make
sudo make install
cd .
git clone https://github.com/bmerry/dg_view.git
cd dg_view
scons

To see it in action, run

valgrind --tool=exp-datagrind --datagrind-out=ls.out ls
build/dg_view ls.out

For more detailed usage instructions, either compile the included documentation, or refer to the online version.