Refactoring: ring buffer context
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 28 Apr 2021 18:56:05 +0000 (14:56 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Apr 2021 14:33:44 +0000 (10:33 -0400)
commitb1199bd39f4b617b99518b72ceeea644b164b901
tree3821462ecffe65e8c28a860973a84d957cdac08b
parent51ef453614a6db2b778595b16d93283d25db974a
Refactoring: ring buffer context

Split the ring buffer context into:

- Public ring buffer context (initialized by probe),
- Private context (initialized by reserve callback),

Pass event recorder rather than channel as client_ctx for events
generated from instrumentation (calling ring buffer client).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Iecd23f11c54da4ba58a97c46192f775a0a74bd85
19 files changed:
include/lttng/tracepoint-event-impl.h
include/ringbuffer/backend.h
include/ringbuffer/backend_internal.h
include/ringbuffer/config.h
include/ringbuffer/frontend_api.h
src/lib/ringbuffer/ring_buffer_frontend.c
src/lttng-context-callstack-legacy-impl.h
src/lttng-context-callstack-stackwalk-impl.h
src/lttng-context-cpu-id.c
src/lttng-context-interruptible.c
src/lttng-context-perf-counters.c
src/lttng-event-notifier-notification.c
src/lttng-events.c
src/lttng-ring-buffer-client.h
src/lttng-ring-buffer-event-notifier-client.h
src/lttng-ring-buffer-metadata-client.h
src/probes/lttng-kprobes.c
src/probes/lttng-kretprobes.c
src/probes/lttng-uprobes.c
This page took 0.027502 seconds and 4 git commands to generate.