add relayfs
[lttv.git] / ltt / branches / poly / README
CommitLineData
9c312311 1
2This package contains the trace reading library and trace viewing tools for
3the new Linux Trace Toolkit trace format. The associated kernel files to
4generate the new traces are not yet included. In the meantime, a converter
5from the old trace format to the new is provided. For more detailed information
6see doc/developer/index.html
7
857ed977 8* Compiling
f4b0c7bb 9
8023c35a 10gcc 3.2 or higher
11
857ed977 12Some development libraries are needed for compiling :
13
3e177b6e 14gtk 2 development libraries (libgtk2.0, libgtk2.0-dev)
15glib 2 development libraries (libglib2.0-0, libglib2.0-dev)
16libpopt development libraries (libpopt0, libpopt-dev)
17libpango development libraries (libpango1.0, libpango1.0-dev)
857ed977 18
19To compile the source tree from a tarball, simply follow these steps :
20
21- run ./configure
f4b0c7bb 22- make
23- make install
24
857ed977 25After running ./configure, you can also go in specific subdirectories and
f4b0c7bb 26use make, make install.
27
28
06f3e7d1 29* Quick Start
30
31- Create a trace
32- Convert it
33- Run ./lttv -m guievents -m guicontrolflow -m guievents -t path_to_trace
34
35
857ed977 36* Source Tree Structure
895ad015 37
857ed977 38This is a sample of the suggested tree for Linux Trace Toolkit.
895ad015 39
9c312311 40ltt: new trace format reading library (and converter).
41README: This file.
42debian: debian config files (currently empty).
43doc: Documentation.
44doc/user: User related documentation.
45doc/developer: Developer related documentation.
46kernel: Linux Trace Toolkit kernel code (currently empty).
47lttd: Linux Trace Toolkit daemon (currently empty).
48lttv: Linux Trace Toolkit trace analysis tool and viewer.
49lttv/modules: Linux Trace Toolkit analysis tool and viewer plugin modules.
50specs: RPM config files (currently empty).
857ed977 51
06f3e7d1 52
e8ac6a5e 53* The rest of the tools
54
55You must use the lastest versions of patches for the Linux Kernel. That includes
56relayfs and ltt patches, available on the ltt-dev mailing list at
57http://www.listserv.shafik.org/pipermail/ltt-dev/. You will find there the
58lastest version of the trace daemon that must be used to create the traces. (in
59the TraceToolkit package)
60
61Once your traces are created, you must use the convert tool to create a trace in
62the proper format from them.
857ed977 63
06f3e7d1 64
857ed977 65* For Developers
66
67This source tree is based on the autotools suite from GNU to simplify
68portability. Here are some things you should have on your system in order to
69compile the subversion repository tree :
70
71
72GNU autotools (automake-1,7, autoconf2.50, autoheader2.50)
73(make sure your system wide "automake" points to version 1.7!)
74GNU Libtool
75(for more information, go to http://www.gnu.org/software/autoconf/)
76
77If you get the tree from the repository, you will need to use the autogen.sh
78script. It calls all the GNU tools needed to prepare the tree configuration.
79
80
e8ac6a5e 81
857ed977 82Mathieu Desnoyers
This page took 0.036998 seconds and 4 git commands to generate.