tracepractice]# lttng list --userspace
UST events:
-
None
[root@localhost tracepractice]# lttng create mytrace
Session mytrace created.
Traces will be written in /root/lttng-traces/mytrace-20180209-013417
[root@localhost tracepractice]# lttng enable-event --userspace
Signed-off-by: Francis Deslauriers
---
configure.ac| 1 +
tests/fast_regression | 1 +
tests/regression/ust/multi-lib/Makefile.am | 114 +++
tests/regression/ust/multi-lib/README | 21 ++
tests/regression/us
This patch set allows for multiple probes with the same name to be
hooked on the same callsite. Right now, the Session Daemon only
considers the name and signature of the events to determine if two
events are identical. This could lead to trace corruptions when two
probes would have the same name a
Signed-off-by: Francis Deslauriers
---
tests/utils/utils.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh
index e8dfcda..9bf1fcc 100644
--- a/tests/utils/utils.sh
+++ b/tests/utils/utils.sh
@@ -1457,7 +1457,7 @@ function valida
Currently, events are compared using names and signatures. Events
with different payloads but identical name and signatures could
lead to corrupted trace because the Session Daemon would consider them
identical and give them the same event ID.
Events should be compared using the name, loglevel, fi
ht_hash_enum and ht_match_enum are currently called with the address of the
pointer to a ust_registry_enum rather than the expected pointer to a
ust_registry_enum. This means that those function calls would end up
using garbage for hashing and comparing.
Signed-off-by: Francis Deslauriers
---
sr
Signed-off-by: Francis Deslauriers
---
tests/utils/utils.sh | 23 +++
1 file changed, 23 insertions(+)
diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh
index 9bf1fcc..60df376 100644
--- a/tests/utils/utils.sh
+++ b/tests/utils/utils.sh
@@ -1343,6 +1343,29 @@ function
All merged into lttng-ust master, thanks!
Mathieu
- On Feb 9, 2018, at 3:15 PM, Francis Deslauriers
francis.deslauri...@efficios.com wrote:
> This patch set adds the support for duplicated probe providers and
> support for unloading probe providers using dlclose().
>
> It allows to advance
Cleaned up this changelog, which has tabs (should be spaces), and has
lines above ~74 columns (which is odd in a git log).
Thanks,
Mathieu
- On Feb 9, 2018, at 3:15 PM, Francis Deslauriers
francis.deslauri...@efficios.com wrote:
> The support of probe provider dlclose() allows for the foll
Signed-off-by: Francis Deslauriers
---
configure.ac | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index fb2f278..b0b4157 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,11 @@ AC_SUBST([PATCHLEVEL_VERSION], [V_PATCH])
# Following th
The support of probe provider dlclose() allows for the following problematic
scenario:
- Application is not linked against the liblttng-ust.so
- Application dlopen() a probe provider library that is linked against
liblttng-ust.so
- Application dlclose() the probe provider
In this scenario,
This patch set adds the support for duplicated probe providers and
support for unloading probe providers using dlclose().
It allows to advance scenarios where probe providers can be upgraded
during tracing.
For example, during tracing the user could dlopen() a new version of a probe
provider and
Change the prototype to take a descriptor instead of a char *.
Now that provider names can have duplicates enum names are not
necessarily unique.
Signed-off-by: Francis Deslauriers
---
include/lttng/ust-events.h | 5 +++--
liblttng-ust-comm/lttng-ust-comm.c | 3 +--
liblttng-ust/lttng-
With this commit, it's now possible to dlclose() a library containing an
actively used probe provider.
The destructor of such library will now iterate over all the sessions
and over all probe definitions to unregister them from the respective
callsites in the process.
Signed-off-by: Francis Desla
Also, ensure that enumerations and events are removed from their
respective hashtables when _lttng_{event, enum}_destroy functions are
called.
Signed-off-by: Francis Deslauriers
---
v2:
use of cds_hlist_for_each_entry_safe to safely delete event from hashtable
during iteration
Various coding sty
From: Mathieu Desnoyers
It's now possible to register a probe provider with a name that has
already been registered. This is useful when wanting to load a new
version of a shared library on a already running process.
Changes are necessary in the lttng-session daemon to support cases where
the ne
16 matches
Mail list logo