X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fjul.h;h=0a0c8ef0eb3e90aa6c057b77a05eb11956487b17;hb=d98ad589cd758f4a3167fb451a6e45d167b42942;hp=55c9e18c758cdd3beb59bb9b9210dc626987593d;hpb=4a4ab2c346036eebfa794e4f638ad529f462a051;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/jul.h b/src/bin/lttng-sessiond/jul.h index 55c9e18c7..0a0c8ef0e 100644 --- a/src/bin/lttng-sessiond/jul.h +++ b/src/bin/lttng-sessiond/jul.h @@ -84,6 +84,9 @@ struct jul_event { * Hash table nodes of the JUL domain. Indexed by name string. */ struct lttng_ht_node_str node; + + /* Bytecode filter associated with the event . NULL if none. */ + struct lttng_filter_bytecode *filter; }; /* @@ -112,7 +115,8 @@ int jul_init_domain(struct jul_domain *dom); void jul_destroy_domain(struct jul_domain *dom); /* JUL event API. */ -struct jul_event *jul_create_event(const char *name); +struct jul_event *jul_create_event(const char *name, + struct lttng_filter_bytecode *filter); void jul_add_event(struct jul_event *event, struct jul_domain *dom); struct jul_event *jul_find_event(const char *name, enum lttng_loglevel_jul loglevel, struct jul_domain *dom);