projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add test UST perf to extra dist
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
jul.h
diff --git
a/src/bin/lttng-sessiond/jul.h
b/src/bin/lttng-sessiond/jul.h
index 92da2012e13f02d9d809e9593ff846730327ce88..55c9e18c758cdd3beb59bb9b9210dc626987593d 100644
(file)
--- a/
src/bin/lttng-sessiond/jul.h
+++ b/
src/bin/lttng-sessiond/jul.h
@@
-30,6
+30,11
@@
*/
struct lttng_ht *jul_apps_ht_by_sock;
*/
struct lttng_ht *jul_apps_ht_by_sock;
+struct jul_ht_key {
+ const char *name;
+ enum lttng_loglevel_jul loglevel;
+};
+
/*
* Registration message payload from a JUL application. The PID is used to find
* back the corresponding UST app object so both socket can be linked.
/*
* Registration message payload from a JUL application. The PID is used to find
* back the corresponding UST app object so both socket can be linked.
@@
-67,6
+72,8
@@
struct jul_event {
* the JUL API.
*/
char name[LTTNG_SYMBOL_NAME_LEN];
* the JUL API.
*/
char name[LTTNG_SYMBOL_NAME_LEN];
+ enum lttng_loglevel_jul loglevel;
+ enum lttng_loglevel_type loglevel_type;
/*
* Tells if the event is enabled or not on the JUL Agent.
/*
* Tells if the event is enabled or not on the JUL Agent.
@@
-107,7
+114,10
@@
void jul_destroy_domain(struct jul_domain *dom);
/* JUL event API. */
struct jul_event *jul_create_event(const char *name);
void jul_add_event(struct jul_event *event, struct jul_domain *dom);
/* JUL event API. */
struct jul_event *jul_create_event(const char *name);
void jul_add_event(struct jul_event *event, struct jul_domain *dom);
-struct jul_event *jul_find_by_name(const char *name, struct jul_domain *dom);
+struct jul_event *jul_find_event(const char *name,
+ enum lttng_loglevel_jul loglevel, struct jul_domain *dom);
+struct jul_event *jul_find_event_by_name(const char *name,
+ struct jul_domain *dom);
void jul_delete_event(struct jul_event *event, struct jul_domain *dom);
void jul_destroy_event(struct jul_event *event);
void jul_delete_event(struct jul_event *event, struct jul_domain *dom);
void jul_destroy_event(struct jul_event *event);
@@
-117,6
+127,7
@@
void jul_add_app(struct jul_app *app);
void jul_delete_app(struct jul_app *app);
struct jul_app *jul_find_app_by_sock(int sock);
void jul_destroy_app(struct jul_app *app);
void jul_delete_app(struct jul_app *app);
struct jul_app *jul_find_app_by_sock(int sock);
void jul_destroy_app(struct jul_app *app);
+int jul_send_registration_done(struct jul_app *app);
/* JUL action API */
int jul_enable_event(struct jul_event *event);
/* JUL action API */
int jul_enable_event(struct jul_event *event);
This page took
0.023663 seconds
and
4
git commands to generate.