[lttng-dev] [PATCH lttng-ust 0/8] Support provider duplicates and unloading
Francis Deslauriers
francis.deslauriers at efficios.com
Fri Feb 2 19:48:03 UTC 2018
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 dlclose() the previous one. All this without stop tracing.
A patch set for lttng-tools project is necessary to take advantage of
those changes.
The lttng-tools changes can be found on this branch of my Github fork:
https://github.com/frdeso/lttng-tools/commits/multi-lib-support
Francis Deslauriers (7):
Fix: missing event removal from the event hashtable
Cleanup: Move version numbers in separate variables in configure
script
Add probe provider unregister function
Fix: missing enum removal from the enum hashtable
Manually dlopen() liblttng-ust.so to prevent unloading
Rename lttng_ust_enum_get to lttng_ust_enum_get_from_desc
Support unloading of probe providers
Mathieu Desnoyers (1):
Remove duplicate provider name checks
configure.ac | 7 +-
include/lttng/ust-events.h | 6 +-
include/lttng/ust-tracepoint-event.h | 2 +-
liblttng-ust-comm/lttng-ust-comm.c | 3 +-
liblttng-ust/Makefile.am | 2 +
liblttng-ust/lttng-events.c | 139 ++++++++++++++++++++++++++++++-----
liblttng-ust/lttng-probes.c | 28 ++-----
liblttng-ust/lttng-ust-comm.c | 22 ++++++
liblttng-ust/tracepoint.c | 43 ++++++++---
liblttng-ust/ust-core.c | 11 ++-
10 files changed, 200 insertions(+), 63 deletions(-)
--
2.7.4
More information about the lttng-dev
mailing list