Add lttng list -j command to list possible events
[lttng-tools.git] / src / bin / lttng-sessiond / jul.h
index f7d3c48f8d078afd83eb4f015c3d6cb8ad3e3c72..1e32ea5558e9f756542c57d2a6a158c9ed03a815 100644 (file)
@@ -91,6 +91,13 @@ struct jul_event {
  * for it.
  */
 struct jul_domain {
+       /*
+        * This indicates if that domain is being used meaning if at least one
+        * event has been at some point in time added to it. This is used so when
+        * listing domains for a session, we can tell or not if the JUL is actually
+        * enabled.
+        */
+       unsigned int being_used:1;
        /*
         * Contains JUL event indexed by name.
         */
@@ -124,5 +131,6 @@ void jul_destroy_app(struct jul_app *app);
 int jul_enable_event(struct jul_event *event);
 int jul_disable_event(struct jul_event *event);
 void jul_update(struct jul_domain *domain, int sock);
+int jul_list_events(struct lttng_event **events);
 
 #endif /* _JUL_H */
This page took 0.024617 seconds and 5 git commands to generate.