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:

Francis Deslauriers (7):
  Fix: missing event removal from the event hashtable
  Cleanup: Move version numbers in separate variables in configure
  Add probe provider unregister function
  Fix: missing enum removal from the enum hashtable
  Manually dlopen() 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                         |   7 +-
 include/lttng/ust-events.h           |   6 +-
 include/lttng/ust-tracepoint-event.h |   2 +-
 liblttng-ust-comm/lttng-ust-comm.c   |   3 +-
 liblttng-ust/             |   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(-)


lttng-dev mailing list

Reply via email to