projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust the relayd protocol on version check
[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 b90e8f4677f8530227825e3671639cf1b3bf0547..a56473783fb7d5f8f93ef11f50a40f628eaf35e5 100644
(file)
--- a/
src/bin/lttng-sessiond/session.h
+++ b/
src/bin/lttng-sessiond/session.h
@@
-21,7
+21,8
@@
#include <urcu/list.h>
#include "trace-kernel.h"
#include <urcu/list.h>
#include "trace-kernel.h"
-#include "trace-ust.h"
+
+struct ltt_ust_session;
/*
* Tracing session list
/*
* Tracing session list
@@
-83,8
+84,11
@@
struct ltt_session {
*/
struct consumer_output *consumer;
*/
struct consumer_output *consumer;
- /* Indicates whether or not we have to spawn consumer(s) */
- unsigned int start_consumer;
+ /* Did a start command occured before the kern/ust session creation? */
+ unsigned int started;
+ /* Procotol version to use with the relayd */
+ uint32_t major;
+ uint32_t minor;
};
/* Prototypes */
};
/* Prototypes */
@@
-99,4
+103,6
@@
void session_unlock_list(void);
struct ltt_session *session_find_by_name(char *name);
struct ltt_session_list *session_get_list(void);
struct ltt_session *session_find_by_name(char *name);
struct ltt_session_list *session_get_list(void);
+int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid);
+
#endif /* _LTT_SESSION_H */
#endif /* _LTT_SESSION_H */
This page took
0.024628 seconds
and
4
git commands to generate.