From 0d22022344ff62aa778f4c60140addce1843230d Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Sat, 11 Oct 2014 21:40:49 -0400 Subject: [PATCH 01/16] comment unused imported function Signed-off-by: Julien Desfossez --- src/network-live.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network-live.c b/src/network-live.c index 9edb5b4..955c104 100644 --- a/src/network-live.c +++ b/src/network-live.c @@ -58,6 +58,7 @@ int lttng_live_should_quit(void) return should_quit; } +#if 0 static void sighandler(int sig) { @@ -100,6 +101,8 @@ int setup_sighandler(void) } return 0; } +#endif + /* * hostname parameter needs to hold NAME_MAX chars. */ -- 2.34.1 From fbb7311bbadac0a6fb7e916da6afef20bd4cf4cb Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 13 Oct 2014 11:05:55 -0400 Subject: [PATCH 02/16] Fix: syscall names for master lttng-modules Signed-off-by: Julien Desfossez --- src/lttngtop.c | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/lttngtop.c b/src/lttngtop.c index 7e34664..6f9c65a 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -328,7 +328,7 @@ enum bt_cb_ret textdump(struct bt_ctf_event *call_data, void *private_data) cpu_id = get_cpu_id(call_data); procname = get_context_comm(call_data); - if (strncmp(bt_ctf_event_name(call_data), "sys_", 4) == 0) { + if (strncmp(bt_ctf_event_name(call_data), "sys", 3) == 0) { cpu = get_cpu(cpu_id); cpu->current_syscall = g_new0(struct syscall, 1); cpu->current_syscall->name = strdup(bt_ctf_event_name(call_data)); @@ -944,15 +944,36 @@ void iter_trace(struct bt_context *bt_ctx) bt_ctf_iter_add_callback(iter, g_quark_from_static_string("sys_open"), NULL, 0, handle_sys_open, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_entry_open"), + NULL, 0, handle_sys_open, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, g_quark_from_static_string("sys_socket"), NULL, 0, handle_sys_socket, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_entry_socket"), + NULL, 0, handle_sys_socket, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, g_quark_from_static_string("sys_close"), NULL, 0, handle_sys_close, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_entry_close"), + NULL, 0, handle_sys_close, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, g_quark_from_static_string("exit_syscall"), NULL, 0, handle_exit_syscall, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_exit_open"), + NULL, 0, handle_exit_syscall, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_exit_socket"), + NULL, 0, handle_exit_syscall, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_exit_close"), + NULL, 0, handle_exit_syscall, NULL, NULL, NULL); if (opt_textdump) { bt_ctf_iter_add_callback(iter, 0, NULL, 0, textdump, @@ -970,9 +991,22 @@ void iter_trace(struct bt_context *bt_ctx) bt_ctf_iter_add_callback(iter, g_quark_from_static_string("sys_write"), NULL, 0, handle_sys_write, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_entry_write"), + NULL, 0, handle_sys_write, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_exit_write"), + NULL, 0, handle_exit_syscall, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, g_quark_from_static_string("sys_read"), NULL, 0, handle_sys_read, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_entry_read"), + NULL, 0, handle_sys_read, NULL, NULL, NULL); + bt_ctf_iter_add_callback(iter, + g_quark_from_static_string("syscall_exit_read"), + NULL, 0, handle_exit_syscall, NULL, NULL, NULL); /* for kprobes */ if (lttngtop.kprobes_table) { -- 2.34.1 From 494bc09aafd8a4a956db683bbecd85ec2241b30e Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 13 Oct 2014 11:14:08 -0400 Subject: [PATCH 03/16] Fix: new syscall names in textdump Signed-off-by: Julien Desfossez --- src/lttngtop.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/lttngtop.c b/src/lttngtop.c index 6f9c65a..c3596aa 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -266,6 +266,7 @@ enum bt_cb_ret textdump(struct bt_ctf_event *call_data, void *private_data) const char *hostname, *procname; struct cputime *cpu; char *from_syscall = NULL; + int syscall_exit = 0; timestamp = bt_ctf_get_timestamp(call_data); @@ -320,15 +321,22 @@ enum bt_cb_ret textdump(struct bt_ctf_event *call_data, void *private_data) } } - if (last_syscall && (strncmp(bt_ctf_event_name(call_data), - "exit_syscall", 12)) != 0) { + if (((strncmp(bt_ctf_event_name(call_data), + "exit_syscall", 12)) == 0) || + ((strncmp(bt_ctf_event_name(call_data), + "syscall_exit", 12)) == 0)) { + syscall_exit = 1; + } + + if (last_syscall && !syscall_exit) { last_syscall = NULL; fprintf(output, " ...interrupted...\n"); } cpu_id = get_cpu_id(call_data); procname = get_context_comm(call_data); - if (strncmp(bt_ctf_event_name(call_data), "sys", 3) == 0) { + if ((strncmp(bt_ctf_event_name(call_data), "sys_", 4) == 0) || + (strncmp(bt_ctf_event_name(call_data), "syscall_entry", 13) == 0)){ cpu = get_cpu(cpu_id); cpu->current_syscall = g_new0(struct syscall, 1); cpu->current_syscall->name = strdup(bt_ctf_event_name(call_data)); @@ -336,7 +344,7 @@ enum bt_cb_ret textdump(struct bt_ctf_event *call_data, void *private_data) cpu->current_syscall->cpu_id = cpu_id; last_syscall = cpu->current_syscall; current_syscall = 1; - } else if ((strncmp(bt_ctf_event_name(call_data), "exit_syscall", 12)) == 0) { + } else if (syscall_exit) { struct tm start_ts; /* Return code of a syscall if it was the last displayed event. */ -- 2.34.1 From be27e34ba5dd2189433115aa954da00f0f7c407c Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Tue, 21 Oct 2014 13:07:44 -0400 Subject: [PATCH 04/16] remove hard dependency on lttng dev header files Signed-off-by: Julien Desfossez --- src/lttngtop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lttngtop.c b/src/lttngtop.c index c3596aa..c388252 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -39,7 +39,8 @@ #include #include #include -#include + +#define LTTNG_SYMBOL_NAME_LEN 256 #ifdef LTTNGTOP_MMAP_LIVE #include -- 2.34.1 From 2ee217afb4c4dc3d259bfc4ae8a4c9f613ebd545 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Tue, 21 Oct 2014 14:03:01 -0400 Subject: [PATCH 05/16] add dependency on lttng runtime in the manpage Signed-off-by: Julien Desfossez --- README | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README b/README index 2e6a67c..47b2627 100644 --- a/README +++ b/README @@ -25,7 +25,7 @@ BUILDING DEPENDENCIES ------------ -To compile Babeltrace and lttngtop, you will need: +To compile Babeltrace and lttngtop, you need: gcc 3.2 or better libc6 development librairies @@ -41,6 +41,11 @@ To compile Babeltrace and lttngtop, you will need: (Debian : libncurses5-dev) babeltrace >= 1.2.0 development library +To use the local live tracing feature, you need: + lttng-tools >= 2.4 + lttng-modules >= 2.4 + babeltrace >= 1.2.0 + For developers using the git tree: This source tree is based on the autotools suite from GNU to simplify -- 2.34.1 From e178aca12a5764ec5b6b3cd07f63bd21f40e80e7 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 11:39:03 -0400 Subject: [PATCH 06/16] fix: filename history needs a rework in the next release Signed-off-by: Julien Desfossez --- src/iostreamtop.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/iostreamtop.c b/src/iostreamtop.c index e4da1dd..44fe37b 100644 --- a/src/iostreamtop.c +++ b/src/iostreamtop.c @@ -140,10 +140,12 @@ void close_file(struct processtop *proc, int fd) if (file != NULL) { file->flag = __NR_close; lttngtop.nbfiles--; + /* if (file->name) { free(file->name); file->name = NULL; } + */ } lttngtop.nbclosedfiles++; } -- 2.34.1 From 54645d5cab414bb3391837ef7acb919cf106c71f Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 11:47:29 -0400 Subject: [PATCH 07/16] prepare the 0.3 release Signed-off-by: Julien Desfossez --- README | 12 ++++++------ configure.ac | 2 +- doc/lttngtop.1 | 5 +++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README b/README index 47b2627..bceb058 100644 --- a/README +++ b/README @@ -1,12 +1,12 @@ LTTngTop -Julien Desfossez -April 2012 +Julien Desfossez +June 2015 Lttngtop is an ncurses interface for reading and browsing traces recorded by the LTTng tracer and displaying various statistics. As of now, the cpu usage, per file/process I/O bandwidth and perf counters are -displayed. This version currently only supports offline traces, but a live -version is in alpha and will be available for testing soon. +displayed. This release is the first one that handles live sessions as well as +offline sessions. USAGE ----- @@ -39,12 +39,12 @@ To compile Babeltrace and lttngtop, you need: (Fedora : popt) ncurses development libraries (Debian : libncurses5-dev) - babeltrace >= 1.2.0 development library + babeltrace = 1.2.3 development library To use the local live tracing feature, you need: lttng-tools >= 2.4 lttng-modules >= 2.4 - babeltrace >= 1.2.0 + babeltrace = 1.2.4 For developers using the git tree: diff --git a/configure.ac b/configure.ac index f4cbfc3..90f504d 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([lttngtop],[0.2],[julien dot desfossez at efficios dot com]) +AC_INIT([lttngtop],[0.3],[jdesfossez@efficios.com]) AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST diff --git a/doc/lttngtop.1 b/doc/lttngtop.1 index 243571f..dad4f88 100644 --- a/doc/lttngtop.1 +++ b/doc/lttngtop.1 @@ -1,4 +1,4 @@ -.TH "LTTNGTOP" "1" "April 18, 2012" "" "" +.TH "LTTNGTOP" "1" "June 01, 2015" "" "" .SH "NAME" lttngtop \(em LTTng Trace Viewer @@ -142,7 +142,8 @@ babeltrace(1), babeltrace-log(1), lttng(1), lttng-ust(3), lttng-sessiond(8) .SH "BUGS" .PP -No knows bugs at this point. +The I/O history has some problems with the file names, and we are missing some +system calls parsing to have the complete I/O accounting. If you encounter any issues or usability problem, please report it on our mailing list to help improve this -- 2.34.1 From 2376441815d08d26d4ab0d3cc2b3dce95199a0dd Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 12:25:09 -0400 Subject: [PATCH 08/16] lttngtrace man page Signed-off-by: Julien Desfossez --- doc/lttngtrace.1 | 108 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 doc/lttngtrace.1 diff --git a/doc/lttngtrace.1 b/doc/lttngtrace.1 new file mode 100644 index 0000000..e14218c --- /dev/null +++ b/doc/lttngtrace.1 @@ -0,0 +1,108 @@ +.TH "LTTNGTRACE" "1" "June 01, 2015" "" "" + +.SH "NAME" +lttngtrace \(em Live textual LTTng Trace Viewer + +.SH "SYNOPSIS" + +.PP +.nf +lttngtrace [OPTIONS] [EXECUTABLE] +.fi +.SH "DESCRIPTION" + +.PP + +Lttngtrace is a live textual LTTng trace viewer, it allows to easily (one +command) start a LTTng session and view the live events. The intent is to do +something similar to strace but less intrusive and more flexible: +.nf +- run a command and see it's kernel trace almost instantly without slowing it + down too much (buffered at most 1 second) in combination with the trace of + any other process or the whole system +- follow multiple processes and/or the whole system +- follow the children of all attached processes +- attach to processes by name and/or pid +- actual time taken by the system calls (with reminder of start timestamp) +- sched_switch events to know the context switches that occurred for the + process we are interested in +- current CPU (to see the migrations) +- highlight the trace of a selection of processes while tracing the whole + system to easily see the interactions +- arbitrary kprobe additions to see if a process hits a certain place in the + kernel +.fi + +.PP +Only a subset of the LTTng events are enabled (the statedump, sched_switch, +sched_process_fork and all the system calls). + +.PP + +The events are displayed with additionnal context information than just the raw +LTTng trace (such as the current process name/PID/TID, the start/end time of +the current system call, the delay since the last displayed event (filtering +aware)). + +.SH "OPTIONS" + +.TP +.BR "-f" +Follow threads associated with selected PIDs +.TP +.BR "-p" +Comma-separated list of PIDs to display (in addition to the eventual executed program) +.TP +.BR "-n" +Comma-separated list of procnames to display (in addition to the eventual executed program) +.TP +.BR "-a" +In textdump mode, display all events but write in bold the processes we are interested in (-f and -p) +.TP +.BR "-k" +kprobes to insert (same format as lttng enable-event, can be repeated) +.TP +.BR "-o " +In textdump, output the log in +.TP +.BR "EXECUTABLE" +Program to run and connect the tracer (can be combined with other options to see the trace of other processes) + +.SH "REQUIREMENTS" + +.PP + +A working installation of LTTng >= 2.4, the appropriate rights for the user to +create a kernel trace and start daemons (sudo is tried in case the user is not +root), Babeltrace = 1.2.4, LTTngTop = 0.3 + +.SH "SEE ALSO" + +.PP +lttngtop(1), babeltrace(1), babeltrace-log(1), lttng(1), lttng-ust(3), lttng-sessiond(8) +.PP +.SH "BUGS" + +.PP +Some highlighting problems with -a +.SH "CREDITS" + +lttngtrace is a wrapper on top of LTTngTop released under the GPLv2 license. +See the LICENSE file in the source tree for details. + +.PP +A Web site is available at http://www.efficios.com/babeltrace for more +information on Babeltrace and the Common Trace Format. See +http://lttng.org for more information on the LTTng project. +.PP +Mailing list for support and development: . +.PP +You can find us on IRC server irc.oftc.net (OFTC) in #lttng. +.PP + +.SH "AUTHORS" + +.PP +LTTngTop was originally written and is maintained by Julien Desfossez + +.PP -- 2.34.1 From 3f2c1b6d077dc8bc0d222cf4a18007c4418da0e1 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 13:51:33 -0400 Subject: [PATCH 09/16] fix: babeltrace version Signed-off-by: Julien Desfossez --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index bceb058..d65121d 100644 --- a/README +++ b/README @@ -39,7 +39,8 @@ To compile Babeltrace and lttngtop, you need: (Fedora : popt) ncurses development libraries (Debian : libncurses5-dev) - babeltrace = 1.2.3 development library + babeltrace = 1.2.4 development library + (Debian : libbabeltrace-dev, libbabeltrace-ctf-dev) To use the local live tracing feature, you need: lttng-tools >= 2.4 -- 2.34.1 From 1fdaa9defdae5b5ec305da1e063bd5cb09f49a22 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 14:16:29 -0400 Subject: [PATCH 10/16] rename to avoid eventual clash for a future lttngtrace Signed-off-by: Julien Desfossez --- doc/{lttngtrace.1 => lttngtoptrace.1} | 0 utils/{lttngtrace => lttngtoptrace} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename doc/{lttngtrace.1 => lttngtoptrace.1} (100%) rename utils/{lttngtrace => lttngtoptrace} (100%) diff --git a/doc/lttngtrace.1 b/doc/lttngtoptrace.1 similarity index 100% rename from doc/lttngtrace.1 rename to doc/lttngtoptrace.1 diff --git a/utils/lttngtrace b/utils/lttngtoptrace similarity index 100% rename from utils/lttngtrace rename to utils/lttngtoptrace -- 2.34.1 From 36ec1d28dc665a46ed3800dfb6fae4aa4ccf9d11 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 14:17:02 -0400 Subject: [PATCH 11/16] rename to avoid eventual clash for a future lttngtrace Signed-off-by: Julien Desfossez --- doc/lttngtoptrace.1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/lttngtoptrace.1 b/doc/lttngtoptrace.1 index e14218c..51adf39 100644 --- a/doc/lttngtoptrace.1 +++ b/doc/lttngtoptrace.1 @@ -1,13 +1,13 @@ -.TH "LTTNGTRACE" "1" "June 01, 2015" "" "" +.TH "LTTNGTOPTRACE" "1" "June 01, 2015" "" "" .SH "NAME" -lttngtrace \(em Live textual LTTng Trace Viewer +lttngtoptrace \(em Live textual LTTng Trace Viewer .SH "SYNOPSIS" .PP .nf -lttngtrace [OPTIONS] [EXECUTABLE] +lttngtoptrace [OPTIONS] [EXECUTABLE] .fi .SH "DESCRIPTION" @@ -87,7 +87,7 @@ lttngtop(1), babeltrace(1), babeltrace-log(1), lttng(1), lttng-ust(3), lttng-ses Some highlighting problems with -a .SH "CREDITS" -lttngtrace is a wrapper on top of LTTngTop released under the GPLv2 license. +lttngtoptrace is a wrapper on top of LTTngTop released under the GPLv2 license. See the LICENSE file in the source tree for details. .PP -- 2.34.1 From b1cc2cffc5cabbfc65bac84461e853faed2800a2 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 14:17:54 -0400 Subject: [PATCH 12/16] rename to avoid eventual clash for a future lttngtrace Signed-off-by: Julien Desfossez --- utils/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/Makefile.am b/utils/Makefile.am index bed191f..4863a22 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -1,2 +1,2 @@ -dist_bin_SCRIPTS = lttngtrace -EXTRA_DIST = lttngtrace +dist_bin_SCRIPTS = lttngtoptrace +EXTRA_DIST = lttngtoptrace -- 2.34.1 From a0b16e59e6c9e9c3b4abbb378a35c3dabfc2d5f8 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 14:18:54 -0400 Subject: [PATCH 13/16] rename to avoid eventual clash for a future lttngtrace Signed-off-by: Julien Desfossez --- doc/lttngtoptrace.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lttngtoptrace.1 b/doc/lttngtoptrace.1 index 51adf39..0c0f776 100644 --- a/doc/lttngtoptrace.1 +++ b/doc/lttngtoptrace.1 @@ -13,7 +13,7 @@ lttngtoptrace [OPTIONS] [EXECUTABLE] .PP -Lttngtrace is a live textual LTTng trace viewer, it allows to easily (one +Lttngtoptrace is a live textual LTTng trace viewer, it allows to easily (one command) start a LTTng session and view the live events. The intent is to do something similar to strace but less intrusive and more flexible: .nf -- 2.34.1 From ff6913b55258be51a6d1c44f4f6f9b562b5191f5 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 14:20:02 -0400 Subject: [PATCH 14/16] rename to avoid eventual clash for a future lttngtrace Signed-off-by: Julien Desfossez --- README-LIVE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-LIVE b/README-LIVE index 8ce585b..7e9119e 100644 --- a/README-LIVE +++ b/README-LIVE @@ -17,7 +17,7 @@ $ lttngtop -r net://relaydhostname/host/ A few seconds later, you should begin to see your live trace being displayed in lttngtop gui. To use the textdump feature, use the -t (and see --help for more options). You -can also use the new lttngtrace provided by lttngtop which does all the setup +can also use the new lttngtoptrace provided by lttngtop which does all the setup for a live trace in textdump on localhost. -- 2.34.1 From 6b5659cae5e0e6f63ac242474e58873da0f66c16 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 14:54:46 -0400 Subject: [PATCH 15/16] Changelog v0.3 Signed-off-by: Julien Desfossez --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 013e59d..f52ca4e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,2 +1,6 @@ +2015-06-01 LTTngTop 0.3 + * Live tracing support (local or remote) + * Introduction of lttngtoptrace + 2012-02-16 LTTngTop 0.2 * Remove internal Babeltrace code, use the API -- 2.34.1 From 6d315d421c3cd997e3396da7985070e45098a49f Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Mon, 1 Jun 2015 15:04:04 -0400 Subject: [PATCH 16/16] fix: tarball generation and building Signed-off-by: Julien Desfossez --- Makefile.am | 4 ++++ src/Makefile.am | 45 +++++++++++++++++++++++---------------------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/Makefile.am b/Makefile.am index 61b0a07..0c8d13d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,3 +3,7 @@ AM_CFLAGS = $(PACKAGE_CFLAGS) ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src doc utils + +dist_doc_DATA = LICENSE \ + ChangeLog \ + README diff --git a/src/Makefile.am b/src/Makefile.am index 86c8ccb..1103bff 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,41 +19,42 @@ noinst_HEADERS = \ lttng-viewer-abi.h \ lttngtop.h \ lttng-session.h \ - $(top_builddir)/lib/babeltrace/format.h \ + $(top_builddir)/lib/babeltrace/align.h \ + $(top_builddir)/lib/babeltrace/babeltrace-internal.h \ + $(top_builddir)/lib/babeltrace/babeltrace.h \ + $(top_builddir)/lib/babeltrace/bitfield.h \ + $(top_builddir)/lib/babeltrace/clock-internal.h \ + $(top_builddir)/lib/babeltrace/clock-types.h \ + $(top_builddir)/lib/babeltrace/compat/limits.h \ $(top_builddir)/lib/babeltrace/compat/memstream.h \ $(top_builddir)/lib/babeltrace/compat/string.h \ $(top_builddir)/lib/babeltrace/compat/utc.h \ $(top_builddir)/lib/babeltrace/compat/uuid.h \ $(top_builddir)/lib/babeltrace/compiler.h \ - $(top_builddir)/lib/babeltrace/types.h \ $(top_builddir)/lib/babeltrace/context-internal.h \ - $(top_builddir)/lib/babeltrace/format-internal.h \ - $(top_builddir)/lib/babeltrace/babeltrace.h \ - $(top_builddir)/lib/babeltrace/trace-collection.h \ - $(top_builddir)/lib/babeltrace/clock-internal.h \ - $(top_builddir)/lib/babeltrace/mmap-align.h \ - $(top_builddir)/lib/babeltrace/list.h \ - $(top_builddir)/lib/babeltrace/iterator.h \ + $(top_builddir)/lib/babeltrace/context.h \ $(top_builddir)/lib/babeltrace/ctf-ir/metadata.h \ $(top_builddir)/lib/babeltrace/ctf-text/types.h \ - $(top_builddir)/lib/babeltrace/context.h \ - $(top_builddir)/lib/babeltrace/iterator-internal.h \ - $(top_builddir)/lib/babeltrace/bitfield.h \ - $(top_builddir)/lib/babeltrace/trace-handle.h \ - $(top_builddir)/lib/babeltrace/trace-handle-internal.h \ - $(top_builddir)/lib/babeltrace/babeltrace-internal.h \ - $(top_builddir)/lib/babeltrace/align.h \ - $(top_builddir)/lib/babeltrace/ctf/types.h \ $(top_builddir)/lib/babeltrace/ctf/callbacks-internal.h \ + $(top_builddir)/lib/babeltrace/ctf/callbacks.h \ $(top_builddir)/lib/babeltrace/ctf/ctf-index.h \ - $(top_builddir)/lib/babeltrace/ctf/iterator.h \ $(top_builddir)/lib/babeltrace/ctf/events-internal.h \ - $(top_builddir)/lib/babeltrace/ctf/callbacks.h \ - $(top_builddir)/lib/babeltrace/ctf/metadata.h \ $(top_builddir)/lib/babeltrace/ctf/events.h \ - $(top_builddir)/lib/babeltrace/clock-types.h \ + $(top_builddir)/lib/babeltrace/ctf/iterator.h \ + $(top_builddir)/lib/babeltrace/ctf/metadata.h \ + $(top_builddir)/lib/babeltrace/ctf/types.h \ + $(top_builddir)/lib/babeltrace/endian.h \ + $(top_builddir)/lib/babeltrace/format-internal.h \ + $(top_builddir)/lib/babeltrace/format.h \ + $(top_builddir)/lib/babeltrace/iterator-internal.h \ + $(top_builddir)/lib/babeltrace/iterator.h \ + $(top_builddir)/lib/babeltrace/list.h \ + $(top_builddir)/lib/babeltrace/mmap-align.h \ $(top_builddir)/lib/babeltrace/prio_heap.h \ - $(top_builddir)/lib/babeltrace/endian.h + $(top_builddir)/lib/babeltrace/trace-collection.h \ + $(top_builddir)/lib/babeltrace/trace-handle-internal.h \ + $(top_builddir)/lib/babeltrace/trace-handle.h \ + $(top_builddir)/lib/babeltrace/types.h lttngtop_SOURCES = \ -- 2.34.1