LTTng control library C API
Loading...
Searching...
No Matches
evaluation.h
1/*
2 * SPDX-FileCopyrightText: 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8#ifndef LTTNG_EVALUATION_H
9#define LTTNG_EVALUATION_H
10
11#include <lttng/condition/condition.h>
12#include <lttng/lttng-export.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
29struct lttng_evaluation;
30
38
39 /* Unused for the moment */
40 LTTNG_EVALUATION_STATUS_ERROR = -1,
41
44
45 /* Unused for the moment */
46 LTTNG_EVALUATION_STATUS_UNKNOWN = -3,
47
48 /* Unused for the moment */
49 LTTNG_EVALUATION_STATUS_UNSET = -4,
50};
51
66LTTNG_EXPORT extern enum lttng_condition_type
68
80LTTNG_EXPORT extern void lttng_evaluation_destroy(struct lttng_evaluation *evaluation);
81
83
84#ifdef __cplusplus
85}
86#endif
87
88#endif /* LTTNG_EVALUATION_H */
void lttng_evaluation_destroy(struct lttng_evaluation *evaluation)
Destroys the trigger condition evaluation evaluation.
lttng_condition_type
Trigger condition type.
Definition condition.h:36
enum lttng_condition_type lttng_evaluation_get_type(const struct lttng_evaluation *evaluation)
Returns the condition type of the trigger condition evaluation evaluation.
lttng_evaluation_status
Return type of trigger condition evaluation API functions.
Definition evaluation.h:35
@ LTTNG_EVALUATION_STATUS_OK
Success.
Definition evaluation.h:37
@ LTTNG_EVALUATION_STATUS_INVALID
Unsatisfied precondition.
Definition evaluation.h:43
Trigger condition evaluation (opaque type).