projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix array size in kconsumer add stream
[lttng-tools.git]
/
ltt-sessiond
/
session.h
diff --git
a/ltt-sessiond/session.h
b/ltt-sessiond/session.h
index bbbbffc4554d3aaa6e0dd5abf56da6d1aa6c738c..7db95ed1d6360b477030d26209c5b518c4d90cf7 100644
(file)
--- a/
ltt-sessiond/session.h
+++ b/
ltt-sessiond/session.h
@@
-56,8
+56,8
@@
struct ltt_session_list {
* session for both LTTng and UST.
*/
struct ltt_session {
* session for both LTTng and UST.
*/
struct ltt_session {
- char
*name
;
- char
*path
;
+ char
name[NAME_MAX]
;
+ char
path[PATH_MAX]
;
struct ltt_kernel_session *kernel_session;
struct ltt_ust_session_list ust_session_list;
/*
struct ltt_kernel_session *kernel_session;
struct ltt_ust_session_list ust_session_list;
/*
@@
-71,7
+71,7
@@
struct ltt_session {
/* Prototypes */
int session_create(char *name, char *path);
/* Prototypes */
int session_create(char *name, char *path);
-int session_destroy(
char *name
);
+int session_destroy(
struct ltt_session *session
);
void session_lock(struct ltt_session *session);
void session_lock_list(void);
void session_lock(struct ltt_session *session);
void session_lock_list(void);
This page took
0.023805 seconds
and
4
git commands to generate.