projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add client notification API
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
session.h
diff --git
a/src/bin/lttng-sessiond/session.h
b/src/bin/lttng-sessiond/session.h
index 14ad7af0a8aac4aeb55fb3f444dd9bb3fe39e639..77f0bf7b1ee87ac4a7b7cd43c731ca0d63701ac4 100644
(file)
--- a/
src/bin/lttng-sessiond/session.h
+++ b/
src/bin/lttng-sessiond/session.h
@@
-108,7
+108,15
@@
struct ltt_session {
/*
* Timer set when the session is created for live reading.
*/
/*
* Timer set when the session is created for live reading.
*/
- int live_timer;
+ unsigned int live_timer;
+ /*
+ * Path where to keep the shared memory files.
+ */
+ char shm_path[PATH_MAX];
+ /*
+ * Node in ltt_sessions_ht_by_id.
+ */
+ struct lttng_ht_node_u64 node;
};
/* Prototypes */
};
/* Prototypes */
@@
-121,6
+129,7
@@
void session_unlock(struct ltt_session *session);
void session_unlock_list(void);
struct ltt_session *session_find_by_name(const char *name);
void session_unlock_list(void);
struct ltt_session *session_find_by_name(const char *name);
+struct ltt_session *session_find_by_id(uint64_t id);
struct ltt_session_list *session_get_list(void);
int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid);
struct ltt_session_list *session_get_list(void);
int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid);
This page took
0.026496 seconds
and
5
git commands to generate.