From 5e5b1de15a10a9822b173242a9bb72ec18b5b044 Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 20 Sep 2005 21:27:14 +0000 Subject: [PATCH] change README git-svn-id: http://ltt.polymtl.ca/svn@1244 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/QUICKSTART | 3 ++- ltt/branches/poly/README | 34 +++++++------------------ ltt/branches/poly/liblttctl/liblttctl.c | 6 +++++ 3 files changed, 17 insertions(+), 26 deletions(-) diff --git a/ltt/branches/poly/QUICKSTART b/ltt/branches/poly/QUICKSTART index e3c77cf3..614e1591 100644 --- a/ltt/branches/poly/QUICKSTART +++ b/ltt/branches/poly/QUICKSTART @@ -132,7 +132,8 @@ lttv-gui (or /usr/local/bin/lttv-gui) * Use text mode LTTng to control tracing -The tracing can be controlled from a terminal by using the lttctl command. +The tracing can be controlled from a terminal by using the lttctl command (as +root). Start tracing : diff --git a/ltt/branches/poly/README b/ltt/branches/poly/README index f8491f6f..a052085a 100644 --- a/ltt/branches/poly/README +++ b/ltt/branches/poly/README @@ -1,9 +1,7 @@ This package contains the trace reading library and trace viewing tools for -the new Linux Trace Toolkit trace format. The associated kernel files to -generate the new traces are not yet included. In the meantime, a converter -from the old trace format to the new is provided. For more detailed information -see doc/developer/index.html +the new Linux Trace Toolkit trace format. It also contains the lttd, lttctl and +liblttctl programs which are necessary to obtain a trace. * Compiling @@ -18,7 +16,7 @@ libpango development libraries (libpango1.0, libpango1.0-dev) To compile the source tree from a tarball, simply follow these steps : -- run ./configure +- ./configure - make - make install @@ -28,40 +26,26 @@ use make, make install. * Quick Start -- Create a trace -- Convert it -- Run ./lttv -m guievents -m guicontrolflow -m guievents -t path_to_trace - +See QUICKSTART * Source Tree Structure -This is a sample of the suggested tree for Linux Trace Toolkit. +Here is the tree structure of the Linux Trace Toolkit Viewer package. -ltt: new trace format reading library (and converter). +ltt: new trace format reading library. README: This file. debian: debian config files (currently empty). doc: Documentation. doc/user: User related documentation. doc/developer: Developer related documentation. -kernel: Linux Trace Toolkit kernel code (currently empty). -lttd: Linux Trace Toolkit daemon (currently empty). +liblttctl: Library to communicate with the kernel tracer control module. +lttctl: Command line program to use the liblttctl library. +lttd: Linux Trace Toolkit daemon. lttv: Linux Trace Toolkit trace analysis tool and viewer. lttv/modules: Linux Trace Toolkit analysis tool and viewer plugin modules. specs: RPM config files (currently empty). -* The rest of the tools - -You must use the lastest versions of patches for the Linux Kernel. That includes -relayfs and ltt patches, available on the ltt-dev mailing list at -http://www.listserv.shafik.org/pipermail/ltt-dev/. You will find there the -lastest version of the trace daemon that must be used to create the traces. (in -the TraceToolkit package) - -Once your traces are created, you must use the convert tool to create a trace in -the proper format from them. - - * For Developers This source tree is based on the autotools suite from GNU to simplify diff --git a/ltt/branches/poly/liblttctl/liblttctl.c b/ltt/branches/poly/liblttctl/liblttctl.c index 36b29c8a..d6f411b9 100644 --- a/ltt/branches/poly/liblttctl/liblttctl.c +++ b/ltt/branches/poly/liblttctl/liblttctl.c @@ -30,6 +30,12 @@ #include #include #include +#include +#include +#include +#include +#include + /* Private interface */ -- 2.34.1