Logrind 2 – A program trace framework

Abstract

Logrind 2 is a set of tools for capturing and analysing program traces called Logrind 2. The tools are implemented as add-ons to the popular Valgrind and GDB debugging tools. Program traces are captured using dynamic instrumentation and stored in a relational database. Logrind 2 provides support for pretty-printing these traces in a clear and understandable format. The toolset also includes an extended SQL query language that ranges over program traces. Other tools may interface with Logrind 2 using this query language. The program trace schema supports multiple sources and can be used to compare runs of a program. Logrind 2 supports random access navigation of program traces using the concept of a program trace ‘cursor’. Users may use this feature to examine the historical state of a process.

Requirements

GNU/Linux w/2.4.x kernel
SQLite 2.x (www.sqlite.org)

Download

Snapshots:
insight-20040619.tar.bz2
valgrind-20040619.tar.bz2
Report:
report.pdf

License

GNU General Public License
© Christopher January 2004

Installation

Make sure you install SQLite first!
Download insight-20040619.tar.bz2 and valgrind-20040619.tar.bz2 to the same directory. Then:

tar jxf insight-20040619.tar.bz2
tar jxf valgrind-20040619.tar.bz2
mkdir build
cd build
mkdir insight
cd insight
../../insight/configure
make
make install
cd .. mkdir
valgrind
cd valgrind
../.../valgrind/configure
make
make install

User guide

User guide

Leave a Comment