Session consumed size notification
authorJulien Desfossez <jdesfossez@efficios.com>
Fri, 9 Feb 2018 19:50:28 +0000 (14:50 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:28 +0000 (12:12 -0400)
commite8360425c2fd0f8cfef1e678af5adfde7ae0a68e
treeff3a5be0bc95ed5b05f2628a015f2b4f1369c634
parent0f0479d77e6e55766f9c1ec5765a4479e7b40b79
Session consumed size notification

Add the support for notifications about the total amount of trace data
consumed for a session. The user can register itself to be notified when
a session has consumed more than a threshold. This sums the data for all
channels in a session.

For the review: part of this code was written by Jérémie, but it was on
top of my development branch with major updates on my early work with
notifications, so I had to squash it because it made no sense to keep
Jérémie's code separate.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
13 files changed:
include/Makefile.am
include/lttng/condition/condition.h
include/lttng/condition/session-consumed-size-internal.h [new file with mode: 0644]
include/lttng/condition/session-consumed-size.h [new file with mode: 0644]
include/lttng/lttng.h
src/bin/lttng-sessiond/notification-thread-events.c
src/bin/lttng-sessiond/notification-thread-internal.h
src/common/Makefile.am
src/common/condition.c
src/common/consumer/consumer-timer.c
src/common/evaluation.c
src/common/session-consumed-size.c [new file with mode: 0644]
src/common/sessiond-comm/sessiond-comm.h
This page took 0.026442 seconds and 4 git commands to generate.