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

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Feb 9 20:43:25 UTC 2018


All merged into lttng-ust master, thanks!

Mathieu

----- On Feb 9, 2018, at 3:15 PM, Francis Deslauriers francis.deslauriers at 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 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

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list