projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add excluders to enabler structure
[lttng-ust.git]
/
include
/
lttng
/
ust-events.h
diff --git
a/include/lttng/ust-events.h
b/include/lttng/ust-events.h
index 74a3bc651f4302c98aaff17e9db878a48e07ca47..db8b9dc14a7c112df7cd5805e70b92e9e2c84a69 100644
(file)
--- a/
include/lttng/ust-events.h
+++ b/
include/lttng/ust-events.h
@@
-301,6
+301,8
@@
struct lttng_enabler {
/* head list of struct lttng_ust_filter_bytecode_node */
struct cds_list_head filter_bytecode_head;
/* head list of struct lttng_ust_filter_bytecode_node */
struct cds_list_head filter_bytecode_head;
+ /* head list of struct lttng_ust_excluder_node */
+ struct cds_list_head excluder_head;
struct cds_list_head node; /* per-session list of enablers */
struct lttng_ust_event event_param;
struct cds_list_head node; /* per-session list of enablers */
struct lttng_ust_event event_param;
@@
-342,6
+344,15
@@
struct lttng_ust_filter_bytecode_node {
struct lttng_ust_filter_bytecode bc;
};
struct lttng_ust_filter_bytecode bc;
};
+struct lttng_ust_excluder_node {
+ struct cds_list_head node;
+ struct lttng_enabler *enabler;
+ /*
+ * struct lttng_ust_event_exclusion had variable sized array,
+ * must be last field.
+ */
+ struct lttng_ust_event_exclusion excluder;
+};
/*
* Filter return value masks.
*/
/*
* Filter return value masks.
*/
@@
-543,7
+554,7
@@
int lttng_attach_context(struct lttng_ust_context *context_param,
struct lttng_ctx **ctx, struct lttng_session *session);
void lttng_context_init(void);
void lttng_context_exit(void);
struct lttng_ctx **ctx, struct lttng_session *session);
void lttng_context_init(void);
void lttng_context_exit(void);
-
struct lttng_ctx *lttng_static_ctx;
/* Used by filtering */
+
extern struct lttng_ctx *lttng_static_ctx;
/* Used by filtering */
void lttng_transport_register(struct lttng_transport *transport);
void lttng_transport_unregister(struct lttng_transport *transport);
void lttng_transport_register(struct lttng_transport *transport);
void lttng_transport_unregister(struct lttng_transport *transport);
This page took
0.024334 seconds
and
4
git commands to generate.