mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 05:10:23 +00:00
converted by Donna. Hooked it into the build system so they are only built when specifically asked for, and when doing "make dist". They're not perfect; in particular, there are the following problems: - The plain-text FAQ should be built from FAQ.xml, but this is not currently done. (The text FAQ has been left in for now.) - The PS/PDF building doesn't work -- it fails with an incomprehensible error message which I haven't yet deciphered. Nonetheless, I'm putting it in so others can see it. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3153
40 lines
1.1 KiB
XML
40 lines
1.1 KiB
XML
<?xml version="1.0"?> <!-- -*- sgml -*- -->
|
|
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
|
|
<chapter id="lk-manual" xreflabel="Lackey">
|
|
|
|
<title>Lackey: a very simple profiler</title>
|
|
|
|
<para>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.</para>
|
|
|
|
<para>It measures three things:</para>
|
|
|
|
<orderedlist>
|
|
|
|
<listitem>
|
|
<para>The number of calls to
|
|
<computeroutput>_dl_runtime_resolve()</computeroutput>, the
|
|
function in glibc's dynamic linker that resolves function
|
|
lookups into shared objects.</para>
|
|
</listitem>
|
|
|
|
<listitem>
|
|
<para>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.</para>
|
|
</listitem>
|
|
|
|
<listitem>
|
|
<para>The number of conditional branches encountered and the
|
|
proportion of those taken.</para>
|
|
</listitem>
|
|
|
|
</orderedlist>
|
|
|
|
</chapter>
|