X-Git-Url: http://git.liburcu.org/?p=ust.git;a=blobdiff_plain;f=README;h=187c045244a6ccd07826d15f66c0e0fd539ff42f;hp=18874e81d8065cd034d42e241ae981ed0bf1b761;hb=841f7e9cd6909d5fc1d782d7d1d385b568033869;hpb=2615de09cbdc7ef9b62db08c182bd75acfad6487 diff --git a/README b/README index 18874e8..187c045 100644 --- a/README +++ b/README @@ -1,37 +1,97 @@ -LTTNG USERSPACE TRACER +LTTNG USERSPACE TRACER (UST) +---------------------------- -NOTE: THIS LIBRARY HAS NOT BEEN RELEASED YET BECAUSE ALTOUGH IT IS LICENCED AS -LGPL, IT CAN ONLY BE USED AS GPL BECAUSE IT DEPENDS ON GPL LIBRARIES. IT WILL BE -RELEASED AS SOON AS THESE ISSUES ARE RESOLVED. +UST web site and manual: http://lttng.org/ust -Dependencies: +Updated versions of this package may be found at: -- liburcu-pmf - Userspace RCU library, pmf patches. - http://git.dorsal.polymtl.ca + * Website: http://lttng.org/ust + * Releases: http://lttng.org/files/ust/releases + * GitWeb: http://git.dorsal.polymtl.ca (project: ust) + * Git: git://git.dorsal.polymtl.ca/git/ust.git -- libkcompat - Linux kernel userspace compatibility library. - http://git.dorsal.polymtl.ca -Package contents: +PREREQUISITES: -- libust - The actual userspace tracing library that must be linked to the - instrumented programs. + - liburcu + Userspace RCU library, by Mathieu Desnoyers and Paul E. McKenney -- ust - A program to control the tracing of userspace applications. It can list - markers, start the tracing, stop the tracing, enable/disable markers, etc. + -> This release was tested with liburcu v0.5.4 -- ustd - The daemon that collects trace data and writes it to the disk. + * Debian/Ubuntu package: liburcu-dev + * Website: http://lttng.org/urcu + * Releases: http://lttng.org/files/urcu + * GitWeb: http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git;a=summary + * Git: git://lttng.org/userspace-rcu.git -- Documentation -- hello - An example application that uses the userspace tracer. +INSTALLATION INSTRUCTIONS: -- libmallocwrap - An example library that can be LD_PRELOAD'ed to instrument calls to malloc() - in any program without need to recompile it. + - Download, compile and install liburcu. + - In this package's tree, run ./configure. + - Run make. + - Run make install. + - Run ldconfig. + - See the manual for usage instructions. + + If compiling from the git repository, run ./bootstrap before running + the configure script, to generate it. + + +TRACE VIEWER: + + LTTV is used for viewing UST traces. LTTV may be obtained at + http://lttng.org in the Downloads section. + + This release has been tested with LTTV 0.12.32. + + +PACKAGE CONTENTS: + + This package contains the following elements. + + - libust + The actual userspace tracing library that must be linked to the + instrumented programs. + + - ustctl + A program to control the tracing of userspace applications. It can list + markers, start the tracing, stop the tracing, enable/disable markers, etc. + + - include + The public header files that will be installed on the system. + + - ust-consumerd + The daemon that collects trace data and writes it to the disk. + + - doc + The documentation. + + - tests + Various test programs + + - libustinstr-malloc + An example library that can be LD_PRELOAD'ed to instrument calls to malloc() + in any program without need to recompile it. + + - libustfork + A library that is LD_PRELOAD'ed, and that hijacks calls to several system + calls in order to trace across these calls. It _has_ to be LD_PRELOAD'ed + in order to hijack calls. In contrast, libust may be linked at build time. + + - libustctl + A library to control tracing in other processes. Used by ustctl. + + - libustcomm + A static library shared between libust, ust-consumerd and libustctl, that + provides functions that allow these components to communicate together. + + - libustconsumer + A library to create ust consumers by registering callbacks, used by + ust-consumerd. + + - snprintf + An asynchronous signal-safe version of snprintf. + + - java + A simple library that uses JNI to allow tracing in java programs.