Philippe Proulx [Sat, 2 Apr 2016 20:14:17 +0000 (16:14 -0400)]
Fix: standardize parser/lexer building
This patch makes the build system act as follows:
if in Git repo:
require bison/flex (configure)
build parser/lexer (make, make clean)
else:
if bison exists:
build parser (make, make clean)
else:
warn that bison is missing (configure)
create "error" parser target in Makefile (make)
do not clean parser (make clean not available)
if flex exists:
build lexer (make, make clean)
else:
warn that flex is missing (configure)
create "error" lexer target in Makefile (make)
do not clean lexer (make clean not available)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 2 Apr 2016 02:15:53 +0000 (22:15 -0400)]
Fix: standardize man pages building/installing
This patch makes the build system act as follows:
if --enable-man-pages:
if in Git repo:
require asciidoc/xmlto (configure)
build man pages (make, make clean)
install man pages (make install)
distribute man pages (make dist)
else:
if asciidoc/xmlto both exist:
build man pages (make, make clean)
install man pages (make install)
distribute man pages (make dist)
else:
warn that asciidoc/xmlto are missing (configure)
create "error" man page targets in Makefile (make)
do not clean man pages (make clean not available)
install distributed man pages (make install)
distribute distributed man pages (make dist)
else if --disable-man-pages:
do not build man pages (make, make clean not available)
do not install man pages (make install not available)
do not distribute man pages (make dist not available)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 10 May 2016 20:00:28 +0000 (16:00 -0400)]
configure.ac: check for an existing liburcu-cds symbol
Fixes #1001
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 10 May 2016 19:51:17 +0000 (15:51 -0400)]
configure.ac: use macro for wrong liburcu error message
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 21:31:39 +0000 (17:31 -0400)]
Hide parse_application_context utility function
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 21:29:15 +0000 (17:29 -0400)]
Re-add deprecated MI symbols to preserve ABI compatibility
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 21:28:35 +0000 (17:28 -0400)]
Hide new MI symbols introduced as part of 2.8
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 21:23:34 +0000 (17:23 -0400)]
Re-add default size symbols which were erroneously exposed
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 21:09:45 +0000 (17:09 -0400)]
Hide config symbols introduced in 2.8
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 21:01:43 +0000 (17:01 -0400)]
Hide internal _lttng_destroy_session symbol
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 21:01:16 +0000 (17:01 -0400)]
Hide bytecode symbol iterator API symbols
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 20:27:20 +0000 (16:27 -0400)]
Tests: wording of trace_matches is misleading
trace_matches reports a number of "events found" in a trace while it
actually counts the number of event_name matches.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Mathieu Desnoyers [Wed, 11 May 2016 17:15:25 +0000 (13:15 -0400)]
Test lttng-modules clock override plugin
[ For both master and stable-2.8 branches. ]
Fixes: #939
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 14 May 2016 19:30:35 +0000 (15:30 -0400)]
Warning fix: uninitialized variable may be used
GCC warns that discarded_events and lost_packets may be used
uninitialized (NULL).
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Michael Jeanson [Thu, 12 May 2016 19:20:33 +0000 (15:20 -0400)]
Tests: Replace prove by autotools tap runner
This patch removes the dependency on the prove perl script
to run the TAP test suite. It replaces it with the autotools
shell TAP driver that only requires a shell and awk.
Custom arguments can be passed to the test runner with
env variables as follow:
env LOG_DRIVER_FLAGS='--comments --ignore-exit' \
TESTS='foo.test baz.test' make -e check
This tap driver also creates a log file for each test that
can then be used by another system to build a test report.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Michael Jeanson [Thu, 12 May 2016 16:07:56 +0000 (12:07 -0400)]
Drop installcheck target
The installcheck target is supposed to be used to run tests on the
installed files, however our current implementation runs the exact same
tests in the build directory as the check target, which makes it useless.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Mathieu Desnoyers [Thu, 12 May 2016 20:08:47 +0000 (16:08 -0400)]
Fix: distcheck requires that we clean version.h
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Mathieu Desnoyers [Thu, 12 May 2016 20:08:46 +0000 (16:08 -0400)]
Fix: configure: forbid Python bindings if shared libraries are disabled
Fixes: #977
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Mathieu Desnoyers [Thu, 12 May 2016 20:08:45 +0000 (16:08 -0400)]
Fix: tests: don't match command line arguments, match static build binary names
Don't match command line arguments for lttng-sessiond, lttng-relayd,
lttng-consumerd, lttng-runas, lt-lttng-sessiond, lt-lttng-relayd, only
match the executables.
Otherwise, if any unrelated command on the system match those as
arguments (e.g. text editor opening a text file), it hangs the tests.
Static build don't generate a lt-lttng-sessiond as binary name. Expect
lttng-session for this case.
Static build don't generate a lt-lttng-relayd as binary name. Expect
lttng-relayd for this case.
Fixes: #977
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Mathieu Desnoyers [Thu, 12 May 2016 20:08:44 +0000 (16:08 -0400)]
Fix: tests: skip tests on static build
Skip tests that depend on shared objects on static build rather than
bailing out, which will let the overall test suite succeed.
Fixes: #977
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Mathieu Desnoyers [Thu, 12 May 2016 20:08:43 +0000 (16:08 -0400)]
Fix: tests: don't build dynamic lib tests if support disabled
Fixes: #977
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 12 May 2016 16:44:14 +0000 (12:44 -0400)]
bootstrap: Standardize on autoreconf -vi
Don't overwrite already generated files.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 19 Mar 2016 01:35:07 +0000 (21:35 -0400)]
doc/man: add notes about shell escaping
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 19 Mar 2016 01:28:21 +0000 (21:28 -0400)]
Fix: doc/man/Makefile.am for OOT builds
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 5 May 2016 02:49:31 +0000 (22:49 -0400)]
Move unix.h wrapper from sessiond-comm to common
Fixes #951
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Antoine Busque [Wed, 20 Apr 2016 19:57:35 +0000 (15:57 -0400)]
Fix: update tests following renaming of UST statedump event
This fixes regression tests that failed due to the renaming of
`lttng_ust_statedump:soinfo` to `lttng_ust_statedump:bin_info`.
Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Michael Jeanson [Tue, 19 Apr 2016 20:34:55 +0000 (16:34 -0400)]
Typo: catched -> caught
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Thu, 14 Apr 2016 19:35:33 +0000 (15:35 -0400)]
Add comment describing ioctl number duplication
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jonathan Rajotte [Wed, 6 Apr 2016 20:28:44 +0000 (16:28 -0400)]
Test: kill sessiond,relayd and background children on SIGTERM/SIGINT
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 13 Apr 2016 22:07:20 +0000 (18:07 -0400)]
Docs: Remove unnecessary exclamation mark
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 13 Apr 2016 22:06:41 +0000 (18:06 -0400)]
Docs: fix wording of dependency
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Wed, 13 Apr 2016 22:06:13 +0000 (18:06 -0400)]
Docs: fix "daemon" typo in README.md
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jonathan Rajotte [Fri, 18 Mar 2016 22:25:23 +0000 (18:25 -0400)]
Fix: Use get_domain_str on add context
Fixes #1006
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Mon, 4 Apr 2016 16:41:05 +0000 (12:41 -0400)]
Warning fix: possible use of uninitialized variable
GCC reports that discarded_events and lost_packets may be used
uninitialized. Assert that both pointers are not NULL to
silence the warning.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Fri, 25 Mar 2016 02:12:57 +0000 (22:12 -0400)]
doc/man: add FILES section
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jonathan Rajotte [Tue, 29 Mar 2016 22:46:35 +0000 (18:46 -0400)]
Test: xsd validation of long path (length > 255)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jonathan Rajotte [Tue, 29 Mar 2016 22:56:23 +0000 (18:56 -0400)]
Fix: xsd: urls and paths are not of type name_type but string
[v2] Update commit subject and fix spelling in of commit message.
name_type is upper bounded to 255 which make no sense for a path or url.
Reported-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jonathan Rajotte [Tue, 22 Mar 2016 18:12:04 +0000 (14:12 -0400)]
Fix: do not return error on LTTNG_ERR_SNAPSHOT_NODATA
A warning is fine since the user has no control on
whether or not applications (or the kernel) have
produced any event between the start of the tracing
session and the recording of the snapshot.
MI wise the command is not a success since nothing was
recorded. The command line return code is CMD_SUCCESS.
refs #1002
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 19 Feb 2016 19:32:21 +0000 (14:32 -0500)]
Fix: Set loopback adress in set_ip_addr if gethostbyname2 fails
Some systems may not have "localhost" defined in accordance with IETF
RFC 6761. According to this RFC, applications may recognize
"localhost" names as special and resolve to the appropriate loopback
address.
We choose to use the system name resolution API first to honor its
network configuration. If this fails, we resolve to the appropriate
loopback address. This is done to accomodate systems which may want to
start tracing before their network configured.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jonathan Rajotte [Thu, 17 Mar 2016 18:56:02 +0000 (14:56 -0400)]
Fix: d_type validity is not guaranteed on all nfs versions
When using lttng-crash on files mounted on a nfs mount the d_type from
the dirent struct is not necessarily set and results in a DT_UNKNOWN
d_type.
stat() provides the valid information on an nfs mount.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 18:28:38 +0000 (14:28 -0400)]
Fix: doc/man: lttng-add-context(1): add missing option macro
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 18:26:02 +0000 (14:26 -0400)]
doc/man: common-footer.txt: add CI link
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 18:23:59 +0000 (14:23 -0400)]
doc/man: common-footer.txt: add GH organization link
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 18:13:08 +0000 (14:13 -0400)]
doc/man: lttng(1): clarify UST domain and add links to languages
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 18:00:38 +0000 (14:00 -0400)]
doc/man: add escwc macro and use it
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 17:22:34 +0000 (13:22 -0400)]
doc/man: lttng(1): link from COMMAND (synopsis) to COMMANDS section
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 17:18:09 +0000 (13:18 -0400)]
doc/man: use linkgenoptions macro
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 17:14:17 +0000 (13:14 -0400)]
doc/man: add linkgenoptions AsciiDoc macro
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 16:52:51 +0000 (12:52 -0400)]
.gitignore: ignore all generated files in doc/man
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 16:50:30 +0000 (12:50 -0400)]
doc/man: fix external links
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 16:39:57 +0000 (12:39 -0400)]
doc/man: xsl: move manpage-base.xsl -> manpage-callouts.xsl
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 16:38:26 +0000 (12:38 -0400)]
doc/man: xsl: move manpage-ulinks.xsl -> manpage-links.xsl
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 16:33:51 +0000 (12:33 -0400)]
doc/man: xsl: add <URL> after ulink text
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 16:33:10 +0000 (12:33 -0400)]
doc/man: xsl: add (internal) link template
This makes the internal link titles appear underlined in
the man pager.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 16:31:38 +0000 (12:31 -0400)]
doc/man: lttng-enable-channel(1): move limitations to own section
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 09:34:10 +0000 (05:34 -0400)]
Fix: doc/man: lttng-relayd(1) -> lttng-relayd(8)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 07:42:10 +0000 (03:42 -0400)]
doc/man: add nloption and genoption AsciiDoc macros
See the updated README.md for details.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Thu, 24 Mar 2016 06:52:29 +0000 (02:52 -0400)]
doc/man: add [role="term"] to terminal callouts
This does not change the troff output, but it annotates the given
callouts in the DocBook output so that a DocBook->HTML stylesheet
can use this role to visually differentiate terminal callouts from
generic callouts.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jonathan Rajotte [Thu, 17 Mar 2016 20:18:14 +0000 (16:18 -0400)]
Clean-up shm directory tree after freeing the channel
On NFS, an unlinked file that is still mmaped or unclosed is kept
around by creating a .nfsXXXX file since it may still be in use. [1]
This prevents the effective cleanup of the shm tree directory because
it happens before the userspace consumer shm handles table
cleanup. [2]
Moving the tree removal to lttng_ustconsumer_free_channel ensures that
the cleanup is done when the files are completely closed/unmapped.
[1] http://nfs.sourceforge.net/ Look for "silly rename"
[2] See channel_free subcall to shm_object_table_destroy
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Sat, 19 Mar 2016 16:38:50 +0000 (12:38 -0400)]
Fix: Build man pages if --enable-build-man-pages is used
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Mathieu Desnoyers [Sun, 20 Mar 2016 18:54:18 +0000 (14:54 -0400)]
Fix: convey enum value signedness into metadata
Currently, passing an enum range of:
ctf_enum_range("blah", 0, UINT_MAX)
in LTTng-UST will print a range of 0 ... -1 in the generated CTF
metadata, which does not reflect signedness of the values.
Also, struct ustctl_enum_entry is missing a LTTNG_PACKED attribute,
which is against our protocol rules.
This change needs to be pushed in locked-step into lttng-tools and
lttng-ust, since it breaks the protocol between the two when UST
uses the new enumeration type (introduced in 2.8.0-rc1).
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 23:09:24 +0000 (19:09 -0400)]
Generate man pages by default
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 21:40:38 +0000 (17:40 -0400)]
Update version to v2.8.0-rc1
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 21:35:50 +0000 (17:35 -0400)]
Bump minor kernel tracer ABI version
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 21:33:06 +0000 (17:33 -0400)]
Quote brewery names in release codename description
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Julien Desfossez [Fri, 18 Mar 2016 16:43:46 +0000 (12:43 -0400)]
Fix: metadata regenerate, error if too many args
Fixes: #1003
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Baruch Siach [Tue, 8 Mar 2016 12:55:05 +0000 (14:55 +0200)]
Fix: add missing sys/types.h header
The musl C library requires inclusion of sys/types.h for mode_t.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Baruch Siach [Tue, 8 Mar 2016 12:55:04 +0000 (14:55 +0200)]
Fix: build failure when __GLIBC_PREREQ is missing
The musl C library does not provide the __GLIBC_PREREQ macro. Instead of
relying on glibc version test, check directly for the availability of
epoll_create1().
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 19:32:02 +0000 (15:32 -0400)]
configure.ac: beautify report
This beautifies the ./configure end report by aligning all the
fields and adding colors when using an interactive shell
with color support and with a standard output stream connected
to a terminal.
It also uses /bin/fold, if available, to wrap the lines of the
beer description instead of printing a very long line.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 19:08:09 +0000 (15:08 -0400)]
Update version codename and description to 2.8.0 - Isseki Nicho
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Fri, 18 Mar 2016 17:15:05 +0000 (13:15 -0400)]
doc/man: lttng.1.txt: sort commands in categories
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Jérémie Galarneau [Fri, 18 Mar 2016 19:00:17 +0000 (15:00 -0400)]
Data pending message is printed when unnecessary
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 12 Sep 2015 22:06:22 +0000 (18:06 -0400)]
README.md: add CI/Coverity status badges
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 12 Sep 2015 22:01:48 +0000 (18:01 -0400)]
README.md: add lttng-crash in package contents
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 16:26:23 +0000 (12:26 -0400)]
Show lttng-metadata man page in command's --help
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 16:04:18 +0000 (12:04 -0400)]
Add an lttng-metadata man page
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Jérémie Galarneau [Fri, 18 Mar 2016 15:49:32 +0000 (11:49 -0400)]
Remove untrack reference from snapshot man page
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 8 Mar 2016 00:08:51 +0000 (19:08 -0500)]
README.md: add optional dependency on man
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 7 Mar 2016 22:34:50 +0000 (17:34 -0500)]
doc/man: install lttng-health-check.3
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 7 Mar 2016 06:42:24 +0000 (01:42 -0500)]
lttng-relayd: show man page with --help and remove usage
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 7 Mar 2016 06:35:18 +0000 (01:35 -0500)]
doc/man: convert lttng-relayd(8) to AsciiDoc
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 5 Mar 2016 03:30:49 +0000 (22:30 -0500)]
lttng-crash.c: show man page with --help and remove usage
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 5 Mar 2016 03:19:13 +0000 (22:19 -0500)]
doc/man: convert lttng-crash(1) to AsciiDoc
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 5 Mar 2016 02:49:40 +0000 (21:49 -0500)]
lttng-sessiond: show man page with --help and remove usage
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 5 Mar 2016 02:20:49 +0000 (21:20 -0500)]
doc/man: convert lttng-sessiond(8) to AsciiDoc
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 23:35:40 +0000 (18:35 -0500)]
README.md: bolden all dependencies and versions
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 23:33:06 +0000 (18:33 -0500)]
README.md: add asciidoc and xmlto build dependencies
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 07:33:57 +0000 (02:33 -0500)]
lttng.c: sort commands to get a nice list output
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 7 Mar 2016 07:06:03 +0000 (02:06 -0500)]
doc/man: add README.md
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 06:59:11 +0000 (01:59 -0500)]
lttng: add `help` command
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 06:37:20 +0000 (01:37 -0500)]
lttng.c: show man page with --help and remove usage
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 06:30:36 +0000 (01:30 -0500)]
lttng.c: CMD_UNDEFINED is used for invalid args too
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 06:30:17 +0000 (01:30 -0500)]
lttng: remove usage strings from commands
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 06:20:34 +0000 (01:20 -0500)]
lttng: show man page when using command's --help
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 16 Nov 2015 03:35:03 +0000 (22:35 -0500)]
lttng add-context: add --list option
Since --help is replaced by the command's man page, we need
a place to get the list of available context types. The new
--list option of add-context does this.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 06:37:44 +0000 (01:37 -0500)]
doc/man: remove lttng.1 (built from lttng.1.txt)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Tue, 17 Nov 2015 04:25:29 +0000 (23:25 -0500)]
doc/man: create lttng-disable-event(1) and update/fix content
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Mon, 16 Nov 2015 17:40:31 +0000 (12:40 -0500)]
doc/man: create lttng-enable-event(1) and update/fix content
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 14 Nov 2015 06:02:29 +0000 (01:02 -0500)]
doc/man: create lttng-snapshot(1) and update/fix content
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Philippe Proulx [Sat, 14 Nov 2015 05:29:39 +0000 (00:29 -0500)]
doc/man: create lttng-help(1) and update/fix content
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
This page took 0.041845 seconds and 4 git commands to generate.