projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add `interpreter_funcs` to `lttng_bytecode_runtime`
[lttng-ust.git]
/
include
/
lttng
/
ust-events.h
diff --git
a/include/lttng/ust-events.h
b/include/lttng/ust-events.h
index 4c02ffa3307027ecb7a12a54ca11a25d5503cca7..41164ac348eb1edf14e83960f07027205cb037ca 100644
(file)
--- a/
include/lttng/ust-events.h
+++ b/
include/lttng/ust-events.h
@@
-426,11
+426,11
@@
struct ust_pending_probe;
struct lttng_event;
/*
struct lttng_event;
/*
- *
Fil
ter return value masks.
+ *
Bytecode interpre
ter return value masks.
*/
*/
-enum lttng_
fil
ter_ret {
- LTTNG_
FIL
TER_DISCARD = 0,
- LTTNG_
FIL
TER_RECORD_FLAG = (1ULL << 0),
+enum lttng_
bytecode_interpre
ter_ret {
+ LTTNG_
INTERPRE
TER_DISCARD = 0,
+ LTTNG_
INTERPRE
TER_RECORD_FLAG = (1ULL << 0),
/* Other bits are kept for future use. */
};
/* Other bits are kept for future use. */
};
@@
-443,8
+443,10
@@
enum lttng_filter_ret {
struct lttng_bytecode_runtime {
/* Associated bytecode */
struct lttng_ust_bytecode_node *bc;
struct lttng_bytecode_runtime {
/* Associated bytecode */
struct lttng_ust_bytecode_node *bc;
- uint64_t (*filter)(void *interpreter_data,
- const char *interpreter_stack_data);
+ union {
+ uint64_t (*filter)(void *interpreter_data,
+ const char *interpreter_stack_data);
+ } interpreter_funcs;
int link_failed;
struct cds_list_head node; /* list of bytecode runtime in event */
/*
int link_failed;
struct cds_list_head node; /* list of bytecode runtime in event */
/*
@@
-812,7
+814,6
@@
struct lttng_ust_field_iter *
lttng_ust_field_list_get_iter_next(struct lttng_ust_field_list *list);
void lttng_free_event_filter_runtime(struct lttng_event *event);
lttng_ust_field_list_get_iter_next(struct lttng_ust_field_list *list);
void lttng_free_event_filter_runtime(struct lttng_event *event);
-void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime);
struct cds_list_head *lttng_get_probe_list_head(void);
int lttng_session_active(void);
struct cds_list_head *lttng_get_probe_list_head(void);
int lttng_session_active(void);
@@
-848,6
+849,7
@@
int lttng_enabler_attach_exclusion(struct lttng_enabler *enabler,
struct lttng_ust_excluder_node *excluder);
void lttng_enabler_event_link_bytecode(struct lttng_event *event,
struct lttng_enabler *enabler);
struct lttng_ust_excluder_node *excluder);
void lttng_enabler_event_link_bytecode(struct lttng_event *event,
struct lttng_enabler *enabler);
+void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime);
#ifdef __cplusplus
}
#ifdef __cplusplus
}
This page took
0.023437 seconds
and
4
git commands to generate.