[lttng-dev] [PATCH lttng-ust v2 0/6] Support provider duplicates and unloading

Francis Deslauriers francis.deslauriers at efficios.com
Fri Feb 9 20:15:19 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 (5):
  Cleanup: Move version numbers in separate variables in configure
    script
  Add probe provider unregister function
  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          | 135 ++++++++++++++++++++++++++++++-----
 liblttng-ust/lttng-probes.c          |  28 ++------
 liblttng-ust/lttng-ust-comm.c        |  25 +++++++
 liblttng-ust/tracepoint.c            |  43 ++++++++---
 liblttng-ust/ust-core.c              |  11 ++-
 10 files changed, 199 insertions(+), 63 deletions(-)

-- 
2.7.4



More information about the lttng-dev mailing list