tracepoint probe refactoring: Move provider name to provider descriptor
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Mar 2021 15:13:25 +0000 (11:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 29 Mar 2021 17:22:17 +0000 (13:22 -0400)
commit5b4c6da4aa59719b613c612afc05aee91f4343a4
tree71c26dbbb90b3279adba0eb1f1ca04579fb084e9
parent07539b344734a4da4e6010a82acf90b47dbecebd
tracepoint probe refactoring: Move provider name to provider descriptor

The provider name is currently repeated for each event name as:

  <provider name>:<event name>

This repetition requires that each event embeds the provider name within
its own name.

Use this ABI break to clean this up: instead, each event descriptor has
a pointer to its probe descriptor, and each probe descriptor has a
provider name.

Implement name size validation and event name formatting internal
helpers, and use them across the tracer.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ief8a4696a2030bf3b9c785b8422f382079c6bf06
include/lttng/ust-events.h
include/lttng/ust-tracepoint-event.h
liblttng-ust/lttng-events.c
liblttng-ust/lttng-probes.c
liblttng-ust/ust-events-internal.h
This page took 0.02562 seconds and 4 git commands to generate.