From: Julien Desfossez Date: Wed, 22 Feb 2012 02:56:55 +0000 (-0500) Subject: Doc X-Git-Tag: v0.2~67 X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=commitdiff_plain;h=c263c4eb55ebd2b6caf659a7f524f9543df41544 Doc Signed-off-by: Julien Desfossez --- diff --git a/README b/README index 592e109..4bb510c 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -lttngtop +LTTngTop Julien Desfossez August 2011 @@ -22,16 +22,6 @@ $ lttngtop /path/to/your/trace Make sure you have read permissions on the whole directory. -NOTE ----- - -Since this is an early release of lttngtop, it is still inside the babeltrace -source tree. As soon as all babeltrace dependencies are available from the -library and header files, lttngtop will be in its own repository. Until then, -changes in the babeltrace source tree will be merged in this tree to avoid -conflicts. This repository doesn't install the babeltrace binary, or any of its -libraries. This way you can safely install it in the default locations. - EXAMPLE ------- @@ -66,14 +56,12 @@ To compile Babeltrace and lttngtop, you will need: glib 2.22 or better development libraries (Debian : libglib2.0-0, libglib2.0-dev) (Fedora : glib2, glib2-devel) - uuid development libraries - (Debian : uuid-dev) - (Fedora : uuid-devel) libpopt >= 1.13 development libraries (Debian : libpopt-dev) (Fedora : popt) ncurses development libraries (Debian : libncurses5-dev) + babeltrace development library For developers using the git tree: diff --git a/src/lttngtop.c b/src/lttngtop.c index 924864b..52bf6e9 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -334,9 +334,10 @@ void init_lttngtop() lttngtop.cpu_table = g_ptr_array_new(); } -void usage(FILE *fd) +void usage(FILE *fp) { - + fprintf(fp, "LTTngTop %s\n\n", VERSION); + fprintf(fp, "Usage : lttngtop /path/to/trace\n"); } /*