Lackey

This manual was last updated on 2002-10-03

njn25@cam.ac.uk
Copyright © 2002-2004 Nicholas Nethercote

Lackey is licensed under the GNU General Public License, version 2
Lackey is an example Valgrind tool that does some very basic program measurement.

1  Lackey

Lackey is a simple Valgrind tool that does some basic program measurement. It adds quite a lot of simple instrumentation to the program's code. It is primarily intended to be of use as an example tool.

It measures three things:

  1. The number of calls to _dl_runtime_resolve(), the function in glibc's dynamic linker that resolves function lookups into shared objects.

  2. The number of UCode instructions (UCode is Valgrind's RISC-like intermediate language), x86 instructions, and basic blocks executed by the program, and some ratios between the three counts.

  3. The number of conditional branches encountered and the proportion of those taken.