projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make captured field values available to event rule cond. evaluation
[lttng-tools.git]
/
include
/
lttng
/
condition
/
evaluation-internal.h
diff --git
a/include/lttng/condition/evaluation-internal.h
b/include/lttng/condition/evaluation-internal.h
index a2cb432fc1046679ec9e57296cbe40e9244f7e5d..eaef721fb40b7030930f3fa18dd4cc50b2750d30 100644
(file)
--- a/
include/lttng/condition/evaluation-internal.h
+++ b/
include/lttng/condition/evaluation-internal.h
@@
-9,16
+9,18
@@
#define LTTNG_EVALUATION_INTERNAL_H
#include <lttng/condition/evaluation.h>
#define LTTNG_EVALUATION_INTERNAL_H
#include <lttng/condition/evaluation.h>
+#include <lttng/condition/condition.h>
#include <common/macros.h>
#include <common/macros.h>
-#include <common/buffer-view.h>
-#include <common/dynamic-buffer.h>
#include <stdbool.h>
#include <sys/types.h>
#include <stdbool.h>
#include <sys/types.h>
+struct lttng_payload;
+struct lttng_payload_view;
+
typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
typedef int (*evaluation_serialize_cb)(
const struct lttng_evaluation *evaluation,
typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
typedef int (*evaluation_serialize_cb)(
const struct lttng_evaluation *evaluation,
- struct lttng_
dynamic_buffer *buf
);
+ struct lttng_
payload *payload
);
struct lttng_evaluation_comm {
/* enum lttng_condition_type type */
struct lttng_evaluation_comm {
/* enum lttng_condition_type type */
@@
-37,11
+39,13
@@
void lttng_evaluation_init(struct lttng_evaluation *evaluation,
enum lttng_condition_type type);
LTTNG_HIDDEN
enum lttng_condition_type type);
LTTNG_HIDDEN
-ssize_t lttng_evaluation_create_from_buffer(const struct lttng_buffer_view *view,
+ssize_t lttng_evaluation_create_from_payload(
+ const struct lttng_condition *condition,
+ struct lttng_payload_view *view,
struct lttng_evaluation **evaluation);
LTTNG_HIDDEN
int lttng_evaluation_serialize(const struct lttng_evaluation *evaluation,
struct lttng_evaluation **evaluation);
LTTNG_HIDDEN
int lttng_evaluation_serialize(const struct lttng_evaluation *evaluation,
- struct lttng_
dynamic_buffer *buf
);
+ struct lttng_
payload *payload
);
#endif /* LTTNG_EVALUATION_INTERNAL_H */
#endif /* LTTNG_EVALUATION_INTERNAL_H */
This page took
0.023557 seconds
and
4
git commands to generate.