change README
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 20 Sep 2005 21:27:14 +0000 (21:27 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 20 Sep 2005 21:27:14 +0000 (21:27 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1244 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/QUICKSTART
ltt/branches/poly/README
ltt/branches/poly/liblttctl/liblttctl.c

index e3c77cf31463c7e0cbc38accf337ba39b148d4e7..614e15915f911fce30db747b8fac58ad9c40b7e8 100644 (file)
@@ -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 :
 
index f8491f6fc61b634c3923e7a8e82c5b3720d27c77..a052085a2cb8c1f0577d55e9f441088373f6ef48 100644 (file)
@@ -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
index 36b29c8a7d4ec76e176028b8e2829a06090c5d6a..d6f411b921d65c841c3e0faaa49a0b064fb62999 100644 (file)
 #include <liblttctl/lttctl.h>
 #include <errno.h>
 #include <stdio.h>
+#include <error.h>
+#include <stdlib.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <string.h>
+
 
 
 /* Private interface */
This page took 0.0263 seconds and 4 git commands to generate.