projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add CTF enum type support for UST registry
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.h
diff --git
a/src/bin/lttng-sessiond/ust-app.h
b/src/bin/lttng-sessiond/ust-app.h
index 27e3dd0e4903b6c22a019fb3b2f2b713d878bfce..3daccba8622bd96a603a895b86d551ff98e2b57e 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.h
+++ b/
src/bin/lttng-sessiond/ust-app.h
@@
-15,7
+15,7
@@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef _LTT_UST_APP_H
+#ifndef _LTT_UST_APP_H
#define _LTT_UST_APP_H
#include <stdint.h>
#define _LTT_UST_APP_H
#include <stdint.h>
@@
-48,7
+48,7
@@
struct ust_app_notify_sock_obj {
struct ust_app_ht_key {
const char *name;
const struct lttng_filter_bytecode *filter;
struct ust_app_ht_key {
const char *name;
const struct lttng_filter_bytecode *filter;
- enum lttng_ust_loglevel_type loglevel;
+ enum lttng_ust_loglevel_type loglevel
_type
;
const struct lttng_event_exclusion *exclusion;
};
const struct lttng_event_exclusion *exclusion;
};
@@
-192,6
+192,11
@@
struct ust_app_session {
uint64_t id; /* Unique session identifier */
struct lttng_ht *channels; /* Registered channels */
struct lttng_ht_node_u64 node;
uint64_t id; /* Unique session identifier */
struct lttng_ht *channels; /* Registered channels */
struct lttng_ht_node_u64 node;
+ /*
+ * Node indexed by UST session object descriptor (handle). Stored in the
+ * ust_sessions_objd hash table in the ust_app object.
+ */
+ struct lttng_ht_node_ulong ust_objd_node;
char path[PATH_MAX];
/* UID/GID of the application owning the session */
uid_t uid;
char path[PATH_MAX];
/* UID/GID of the application owning the session */
uid_t uid;
@@
-272,6
+277,10
@@
struct ust_app {
* Hash table containing ust_app_channel indexed by channel objd.
*/
struct lttng_ht *ust_objd;
* Hash table containing ust_app_channel indexed by channel objd.
*/
struct lttng_ht *ust_objd;
+ /*
+ * Hash table containing ust_app_session indexed by objd.
+ */
+ struct lttng_ht *ust_sessions_objd;
/*
* If this application is of the agent domain and this is non negative then
/*
* If this application is of the agent domain and this is non negative then
This page took
0.024422 seconds
and
4
git commands to generate.