Jonathan Rajotte Julien [Thu, 3 Jul 2014 18:08:43 +0000 (14:08 -0400)]
Test: Mi test suite
Test case:
enable ust event
disable ust event
list channel
list domain
list session
list ust event
start command
stop command
snapshot command
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 2 Jul 2014 21:08:19 +0000 (17:08 -0400)]
Fix test: use local prefix for function scoped variable
This prevent unexpected behaviour when the caller function have similar
variable.
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 2 Jul 2014 14:12:02 +0000 (10:12 -0400)]
Mi test: Refactoring and multiple test suites
Test for: destroy command
basic list command
enable_channel
disable_channel
Jonathan Rajotte Julien [Tue, 1 Jul 2014 22:17:35 +0000 (18:17 -0400)]
Fix test: add custom output redirector to utils.sh
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Thu, 17 Jul 2014 18:34:08 +0000 (14:34 -0400)]
Mi test: Basic test structure
Added two utils: an xml xpath extractor and xml xsd validator.
Test for session command
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Tue, 22 Jul 2014 14:48:03 +0000 (10:48 -0400)]
Fix mi: validation for snapshot element
Jonathan Rajotte Julien [Mon, 21 Jul 2014 18:19:41 +0000 (14:19 -0400)]
Mi fix: conserve original error handling behaviour
Make sure success is put to zero when an error happens
Jonathan Rajotte Julien [Thu, 17 Jul 2014 18:13:20 +0000 (14:13 -0400)]
Improve bash completion with the use of mi and xmllint
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Thu, 3 Jul 2014 13:57:11 +0000 (09:57 -0400)]
Fix mi: use of wrong variable for error propagation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 2 Jul 2014 19:25:33 +0000 (15:25 -0400)]
Mi fix: refactor disable_channel mi output to success element
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 25 Jun 2014 17:52:00 +0000 (13:52 -0400)]
Comment mi: update mi_lttng_domain todo
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 25 Jun 2014 17:34:12 +0000 (13:34 -0400)]
Fix mi: add support for Jul loglevel
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Thu, 19 Jun 2014 21:08:29 +0000 (17:08 -0400)]
Mi fix: basic formatting
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Thu, 12 Jun 2014 19:51:13 +0000 (15:51 -0400)]
Mi disable-channel command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Tue, 3 Jun 2014 13:56:53 +0000 (09:56 -0400)]
Mi disable-event command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 18 Jun 2014 21:26:15 +0000 (17:26 -0400)]
Mi set-session command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 18 Jun 2014 21:12:41 +0000 (17:12 -0400)]
Mi enable-event command: support for enable-event command
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 18 Jun 2014 19:49:15 +0000 (15:49 -0400)]
Mi enable-channel command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 18 Jun 2014 19:22:11 +0000 (15:22 -0400)]
Mi add-context command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 18 Jun 2014 18:28:04 +0000 (14:28 -0400)]
Mi calibrate command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 18 Jun 2014 15:50:19 +0000 (11:50 -0400)]
Mi destroy command: support and validation
Function destroy_session now take a session as argument. It simplifies the mi
support and give further information on the destroyed session.
Regular output is not affected but the refactoring. We could add the
supplementary information for regular printing if wanted.
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Wed, 18 Jun 2014 14:44:16 +0000 (10:44 -0400)]
Mi create command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Thu, 5 Jun 2014 19:50:40 +0000 (15:50 -0400)]
Mi stop command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Thu, 5 Jun 2014 14:27:41 +0000 (10:27 -0400)]
Mi start command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Tue, 17 Jun 2014 17:00:38 +0000 (13:00 -0400)]
Mi save&load command: support and validation
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Jonathan Rajotte Julien [Thu, 15 May 2014 16:10:17 +0000 (12:10 -0400)]
Mi version command: add commit version to mi version
Jonathan Rajotte [Wed, 16 Apr 2014 21:14:08 +0000 (17:14 -0400)]
Mi: mi xsd validation
Command list and version supported
Jonathan Rajotte [Wed, 16 Apr 2014 21:03:31 +0000 (17:03 -0400)]
Mi: support for command list
Signed-off-by: Jonathan Rajotte <jonathan.r.julien@gmail.com>
Jonathan Rajotte [Wed, 16 Apr 2014 20:08:38 +0000 (16:08 -0400)]
Mi: add mi support for lttng struct
Add mi-lttng support to the following struct:
lttng_domain
lttng_channel
lttng_channel_attr
lttng_event
+multiple mi utility format:
common attribute
tracepoint_loglevel
tracepoint_no_loglevel
function probe
function entry
lttng_event_field
mi-lttng other element
pid element
Rebase on master:
Fix: remove extra linking due to add of mi-lttng to libcommon
Jonathan Rajotte [Sun, 6 Apr 2014 19:30:32 +0000 (15:30 -0400)]
Mi: mi backend + mi for command version
The machine interface option is now available for version. Other
commands will shortly follow. Mi backend is expected to grow with
addition of mi support to other commands.
How to use:
lttng --mi <mi_output_type> <command>
This syntax will be the same for all commands. Currently *only xml is
supported as machine interface output.*
As for errors handling, if an error/warning occurs while using mi it
will be reported on stderr as normal. The integrity of the mi output
cannot be guaranteed if an error/warning occurs. The error output format
is consistent and easy for a machine client to parse. Thus no mi output
format is required for error output.
Example:
lttng --mi xml version
Output:
<?xml version="1.0" encoding="UTF-8"?>
<command>
<name>version</name>
<output>
<string>2.4.0-rc2</string>
<major>2</major>
<minor>4</minor>
<patchLevel>0</patchLevel>
<name>Époque Opaque</name>
<description>The Époque Opaque is a black IPA from Trou du Diable
brewery. The nose is eerily reminiscent of the coffee crisp candy from
of our childhood. These strong mocha accents are present on the palate,
which are quickly subdued by Japanese and Australian hops leading to a
final state of satisfaction enjoyable for any fan of bitter
beer.</description>
<url>http://lttng.org</url>
<license>lttng is free software and under the GPL license and part
LGPL</license>
</output>
</command>
Signed-off-by: Olivier Cotte <olivier.cotte@polymtl.ca>
Signed-off-by: Jonathan Rajotte <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 16 Jul 2014 20:23:52 +0000 (16:23 -0400)]
Update ChangeLog with 2.4.2 and 2.5.0 release
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 16 Jul 2014 19:50:31 +0000 (15:50 -0400)]
Fix: validate file path creds in autoload mode
Validate the credentials only when in auto load mode for the auto/
directory. The lttng load command now checks the session file creds and
validate if it's readable before trying to do so.
Thus with this, a user can load a session from the system wide directory
as long as she/he has the rights to read it.
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 16 Jul 2014 18:02:56 +0000 (14:02 -0400)]
Fix: change session file loading order
Libconfig now tries to load a session file from the user directory
followed by the system wide. A user session file should always
supersedes the system wide.
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 16 Jul 2014 17:06:17 +0000 (13:06 -0400)]
Fix: add Loading Sessions section to lttng-sessiond.8
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 16 Jul 2014 16:52:08 +0000 (12:52 -0400)]
Fix: add default session conf. dir to manpage
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Tue, 15 Jul 2014 18:28:38 +0000 (14:28 -0400)]
Fix: on session load, add it to the .lttngrc
Fixes #818
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Tue, 15 Jul 2014 18:21:56 +0000 (14:21 -0400)]
Fix: clarify session conf. directory in man
Fixes #817
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Tue, 15 Jul 2014 13:16:54 +0000 (09:16 -0400)]
Fix: filter error path could free invalid ptr
Also add a check for a NULL pointer when freeing the filter bytecode so
we don't deref an invalid ptr.
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Mon, 14 Jul 2014 18:57:10 +0000 (14:57 -0400)]
Fix: Create a lock file to prevent multiple session daemons
A lock file is used to ensure that only one session daemon per UID is
running on the system. The lock file is created in the rundir.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 14 Jul 2014 20:37:05 +0000 (16:37 -0400)]
Fix: relayd stream set close_flag on stream close
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 14 Jul 2014 19:49:02 +0000 (15:49 -0400)]
Fix: ustctl_get_stream_id without UST support
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 14 Jul 2014 18:32:10 +0000 (14:32 -0400)]
Fix: avoid freeing invalid ptr in filter bytecode
Reported-by: Jonathan Rajotte <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Julien Desfossez [Mon, 14 Jul 2014 18:05:48 +0000 (14:05 -0400)]
Fix: get the stream_id when generating live beacons
When we send an empty index (beacon), we need to extract the stream_id
to avoid stalling the client on inactive streams on startup.
Since the live clients need to know this feature is implemented, we had
to bump the lttng-live protocol version.
This fix should be backported to stable-2.4 as well.
Refs: #811
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
David Goulet [Wed, 9 Jul 2014 19:24:04 +0000 (15:24 -0400)]
Fix: use biggest subbuffer size for snapshot max-size
Instead of using the output max size divided by the total amount of
streams in the session, we find the largest subbuffer in the session's
channels. Using that value, we multiply it by the total amount of
streams which gives us the lower limit of the snapshot size. That is
enough to make sure that we can take the snapshot or not.
Once done, the max stream size possible used for the snapshot record is
the largest subbuffer size in the session. This is to make sure that
every channel can extract the same amount of data which ensure fairness
between each channel in the session.
Fixes #783
Acked-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Fri, 11 Jul 2014 19:22:18 +0000 (15:22 -0400)]
Fix: Possible memory leak when multiple config files are loaded
Some configuration options could leak when initialized multiple times
from different configuration files and from the command line arguments.
The previous options are now freed' before being set.
Fixes #796
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Thu, 10 Jul 2014 21:41:08 +0000 (17:41 -0400)]
Fix: Clamp verbosity value read from config file
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Thu, 10 Jul 2014 21:04:19 +0000 (17:04 -0400)]
Fix: Unchecked strdup return values in set_option
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 10 Jul 2014 20:02:02 +0000 (16:02 -0400)]
Fix: add a get HOME dir fallback to getpwuid
If the $HOME or $LTTNG_HOME is not defined, fallback on getpwuid(3) of
the process uid.
Fixes #815
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 10 Jul 2014 19:45:02 +0000 (15:45 -0400)]
Fix: signedness of the session live timer
Fixes #806
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 10 Jul 2014 19:40:36 +0000 (15:40 -0400)]
Fix: don't print channel name on enable JUL event
Fixes #802
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Thu, 10 Jul 2014 18:24:59 +0000 (14:24 -0400)]
Fix: logger name dropped from filter condition when loglevels are used
This fix ensures that the loglevel expression is appended to the filter
expression and does not overwrite the current one.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 10 Jul 2014 17:04:24 +0000 (13:04 -0400)]
Fix: refactor function that fixes memory leak also
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Wed, 9 Jul 2014 22:20:03 +0000 (18:20 -0400)]
Fix: memory leak in lttng_enable_event_with_exclusions
lttng_enable_event_with_exclusions leaks a filter expression when
automatically generated filter statements are used. This happens when
loglevel and logger name filtering are used when enabling JUL events.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Fri, 4 Jul 2014 19:33:49 +0000 (15:33 -0400)]
Fix: check malloc return value
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jérémie Galarneau [Fri, 4 Jul 2014 19:28:42 +0000 (15:28 -0400)]
Fix: static array larger than necessary
The longest string that can be returned should be 20 chars long, as per
the comment.
Signed-off-by: David Goulet <dgoulet@efficios.com>
Martin Townsend [Wed, 9 Jul 2014 20:46:54 +0000 (16:46 -0400)]
Fix: add missing URCU_TLS to logging time variable
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 26 Jun 2014 19:41:42 +0000 (15:41 -0400)]
Fix: auto load session in the auto/ directory
The session daemon will now automatically load sessions from the auto/
directory in the session config path. Both system config path and home
config path are used. The session is only loaded if the UID of the
session file matches the UID of the session daemon (or root).
For that, a autoload parameter has been added to the
config_load_session() function to indicate that we want to auto load
sessions.
Fixes #812
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 27 Jun 2014 14:38:10 +0000 (10:38 -0400)]
Update version to v2.5.0-rc2
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 18 Jun 2014 13:11:19 +0000 (09:11 -0400)]
Test: add JUL disable event tests
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Tue, 17 Jun 2014 19:42:39 +0000 (15:42 -0400)]
Fix: disable JUL event on UST side
With the new root logger patch in liblttng-ust-jul, we have to disable
the JUL logger on the UST tracer side for the multi session support.
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 27 Jun 2014 14:18:48 +0000 (10:18 -0400)]
Fix: add test UST perf to extra dist
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 26 Jun 2014 17:56:13 +0000 (13:56 -0400)]
Fix: accept override flag even without a load path
Part of the bug #807 have been fixed also by the previous commit.
Fixes #807
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 26 Jun 2014 17:32:39 +0000 (13:32 -0400)]
Fix: bad error code path when loading session
Fixes #810
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 25 Jun 2014 20:35:54 +0000 (16:35 -0400)]
Fix: set session in output mode if URL are set afterwards
Fixes #809
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 25 Jun 2014 19:42:15 +0000 (15:42 -0400)]
Fix: add a kernel context list to the channel
The internal state of the session daemon was recording only one context
per channel thus overwriting the previous one if multiple context were
added causing a memory leak.
This commit adds a list inside a kernel channel which keeps track of all
context added. It also fixes the save command that now saves all of
them.
Fixes #205
Signed-off-by: David Goulet <dgoulet@efficios.com>
Francis Deslauriers [Thu, 19 Jun 2014 02:19:40 +0000 (22:19 -0400)]
Fix: Add vpid, vppid and vtid info in add-context help
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jonathan Rajotte Julien [Tue, 17 Jun 2014 19:59:41 +0000 (15:59 -0400)]
Fix: wrong behavior of save command when no session name is provided
No session name and no option --all should default to --all.
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jonathan Rajotte Julien [Mon, 9 Jun 2014 19:45:39 +0000 (15:45 -0400)]
Fix: missing context type string in save for ust context
Return string for LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER was missing and
caused an error on save when a context of PERF_THREAD_COUNTER type was
present (Error: Invalid parameter).
Fixes #804
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Jonathan Rajotte Julien [Mon, 9 Jun 2014 15:40:36 +0000 (11:40 -0400)]
Fix: wrong casting of return value
The function uri_parse_str_urls return a ssize_t and the return was
casted to a size_t. This caused the following error checking to fail as
-1 was interpreted as
18446744073709551615.
Fixes #803
Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Paul Woegerer [Thu, 5 Jun 2014 10:39:48 +0000 (12:39 +0200)]
Fix: add dependency to libcommon for python binding
This patch adds the missing dependency to libcommon that contains the
definition of log_add_time.
Signed-off-by: Paul Woegerer <paul_woegerer@mentor.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Raphaël Beamonte [Tue, 3 Jun 2014 18:30:09 +0000 (14:30 -0400)]
Fix: remove the default GIT_VERSION
This is to allow different version control other than git.
Tested-by: Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 28 May 2014 15:21:36 +0000 (11:21 -0400)]
Update version to v2.5.0-rc1
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 28 May 2014 15:04:09 +0000 (11:04 -0400)]
Add missing test files to EXTRA_DIST
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 28 May 2014 14:56:12 +0000 (10:56 -0400)]
Add hidden attribute to some common functions
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Wed, 28 May 2014 14:52:16 +0000 (10:52 -0400)]
Add the load session API call
Introduce lttng_load_session(attr) and some setter/getter for the
attribute object.
Signed-off-by: David Goulet <dgoulet@efficios.com>
Fredrik Markström [Fri, 16 May 2014 01:10:07 +0000 (09:10 +0800)]
Fix: alignment problems on targets not supporting unaligned access.
Accessing floats, doubles and 64 bit int at unaligned addresses is not
supported on all configurations of arm processors and if it is it's
emulated and slow. This patch replaces direct assignments with memcpy.
Signed-off-by: Fredrik Markström <fredrik.markstrom@gmail.com>
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Tue, 27 May 2014 20:34:01 +0000 (16:34 -0400)]
Add gen-ust-tracef binary to gitignore
Signed-off-by: David Goulet <dgoulet@efficios.com>
Mathieu Desnoyers [Tue, 27 May 2014 20:25:26 +0000 (16:25 -0400)]
Implement test_event_tracef
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
Mathieu Desnoyers [Tue, 27 May 2014 20:25:25 +0000 (16:25 -0400)]
Implement tracef test application "gen-ust-tracef"
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Tue, 27 May 2014 14:55:42 +0000 (10:55 -0400)]
Fix: out of tree build
Reported-by: Daniel Olivier <daniel.olivier@ericsson.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 26 May 2014 18:52:58 +0000 (14:52 -0400)]
List session event loglevel for the JUL domain
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 26 May 2014 18:12:23 +0000 (14:12 -0400)]
Fix: possible use after free in consumer
Fixes the coverity issue
1019959.
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 26 May 2014 18:06:10 +0000 (14:06 -0400)]
Fix: man page typo
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 19:22:53 +0000 (15:22 -0400)]
Remove deprecated API from lttng.h
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 19:20:03 +0000 (15:20 -0400)]
Split lttng.h into several files
This does NOT break backward compatibility since lttng.h includes every
possible ABI/API.
Fixes #78
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 17:25:24 +0000 (13:25 -0400)]
Fix: improve and update lttng.h comments
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 26 May 2014 18:02:04 +0000 (14:02 -0400)]
Test: add JUL filtering test
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Mon, 26 May 2014 18:01:14 +0000 (14:01 -0400)]
Fix: JUL filtering for event *
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 23 May 2014 19:04:23 +0000 (15:04 -0400)]
Fix: don't send consumer error to sessiond in teardown
At that point, the control socket has been closed thus the session
daemon is aware that the consumer died. The consumer exit reason is not
even handled by the session daemon.
In the case of the session daemon tearing down, the consumer should
avoid trying to send data on a potentially closed socket.
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 23 May 2014 18:36:33 +0000 (14:36 -0400)]
Don't print time and pid/tid in ERR() and WARN()
The lttng command line uses these two macros to print information to the
user. With the time and pid/tid, it is not really user friendly and
useful for the user.
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 23 May 2014 18:25:06 +0000 (14:25 -0400)]
Fix: saturate verbosity level to 3
Fixes #748
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 23 May 2014 18:20:43 +0000 (14:20 -0400)]
Remove the --consumerd-only from the configure
Fixes #712
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 23 May 2014 14:32:09 +0000 (10:32 -0400)]
Fix: deny overwrite mode and num subbuf less than 2
Also fixed in UST and modules with commit:
(modules)
5140d2b3070f211e6d8a0ad7cb0a190e8b6f3e28
(ust)
3d8e9399b2fb9000b3b55e488a7d04184b5bb56e
Fixes #793
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Fri, 23 May 2014 14:08:00 +0000 (10:08 -0400)]
Fix: add missing lib rt link for clock_gettime
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 21:32:48 +0000 (17:32 -0400)]
Revert "Remove --no-output option from the command line"
This reverts commit
bb2b749bfdced63e744f660aaab28bc12669b6dc.
This affected too many tests that use that option but should not. A
better tested commit will replace this one soon.
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 21:05:48 +0000 (17:05 -0400)]
Remove --no-output option from the command line
Fixes #792
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 20:59:30 +0000 (16:59 -0400)]
Add timestamp to log
Also, the ERR() and WARN() now have the timestamp and the PID
information.
Fixes #519
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 19:53:07 +0000 (15:53 -0400)]
Add max-size to snapshot list output
Fixes #635
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 19:43:47 +0000 (15:43 -0400)]
Add live timer and tracefile count/size to list
The live timer interval is session wide where the trace file count/size
is per channel.
Fixes #642
Signed-off-by: David Goulet <dgoulet@efficios.com>
David Goulet [Thu, 22 May 2014 14:56:30 +0000 (10:56 -0400)]
Fix: remove bad option in enable channel --help
Fixes #776
Signed-off-by: David Goulet <dgoulet@efficios.com>
This page took 0.041941 seconds and 4 git commands to generate.