1f7f6cdcd8e0a176e31095526882c20f51fc528d
2 * Copyright (C) 2013 - David Goulet <dgoulet@efficios.com>
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License, version 2 only, as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 51
15 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include <common/hashtable/hashtable.h>
22 #include <lttng/lttng.h>
25 * Java Util Logging event representation.
29 * Name of the event which is directly mapped to a Logger object name in
32 char name
[LTTNG_SYMBOL_NAME_LEN
];
35 * Tells if the event is enabled or not on the JUL Agent.
37 unsigned int enabled
:1;
40 * Hash table nodes of the JUL domain. Indexed by name string.
42 struct lttng_ht_node_str node
;
46 * Top level data structure in a UST session containing JUL event name created
51 * Contains JUL event indexed by name.
53 struct lttng_ht
*events
;
56 int jul_init_domain(struct jul_domain
*dom
);
57 struct jul_event
*jul_create_event(const char *name
);
58 void jul_add_event(struct jul_event
*event
, struct jul_domain
*dom
);
59 struct jul_event
*jul_find_by_name(const char *name
, struct jul_domain
*dom
);
60 void jul_delete_event(struct jul_event
*event
, struct jul_domain
*dom
);
61 void jul_destroy_event(struct jul_event
*event
);
62 void jul_destroy_domain(struct jul_domain
*dom
);
This page took 0.033803 seconds and 3 git commands to generate.