Add event notifier and event notifier enabler
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 5 Feb 2020 19:34:36 +0000 (14:34 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 Nov 2020 18:10:11 +0000 (13:10 -0500)
commitdffef45d53ab388fd08c19e8865b245b40ca9dff
treefb84cc146aa7b4e6290a8ce3c94c3c48c3505ed8
parent750b05f22826af9bce23e915ca4b9d8a15754797
Add event notifier and event notifier enabler

Idea
====
The purpose of the event notifiers is to allow the session daemon to
react to events in the tracer. For example, the user will be able to
start or stop tracing on a session when a specific tracepoint is fired.

An event notifier is really similar to a regular event. The main
difference is that when the tracepoint is fired the action of the event
notifier is to notify the session daemon about it. This mechanism will
use a special purpose ring buffer to expose these notifications to
userspace.

Unlike regular events, there are no claim on the timeliness of such
notifications.

Implementation
==============
This commit adds structures and functions related to event notifiers
mimicking what we currently do with regular events.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I962e6c7051693d6e4a79f89758f8bf1ebda6c148
include/lttng/abi.h
include/lttng/events.h
src/lttng-abi.c
src/lttng-events.c
This page took 0.029828 seconds and 4 git commands to generate.