projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create all trace directories and files with client user credentials
[lttng-tools.git]
/
lttng-sessiond
/
trace-ust.c
diff --git
a/lttng-sessiond/trace-ust.c
b/lttng-sessiond/trace-ust.c
index 8fd144b6ba7fc77aa5052a18cdb7aa1e727f6397..96f7374f78e37e4fbc1db783c5ee41cf614df722 100644
(file)
--- a/
lttng-sessiond/trace-ust.c
+++ b/
lttng-sessiond/trace-ust.c
@@
-84,7
+84,7
@@
error:
*
* Return pointer to structure or NULL.
*/
*
* Return pointer to structure or NULL.
*/
-struct ltt_ust_session *trace_ust_create_session(char *path,
unsigned int u
id,
+struct ltt_ust_session *trace_ust_create_session(char *path,
int session_
id,
struct lttng_domain *domain)
{
int ret;
struct lttng_domain *domain)
{
int ret;
@@
-98,7
+98,7
@@
struct ltt_ust_session *trace_ust_create_session(char *path, unsigned int uid,
}
/* Init data structure */
}
/* Init data structure */
- lus->
uid = u
id;
+ lus->
id = session_
id;
lus->start_trace = 0;
/* Alloc UST domain hash tables */
lus->start_trace = 0;
/* Alloc UST domain hash tables */
@@
-507,7
+507,7
@@
void trace_ust_destroy_session(struct ltt_ust_session *session)
rcu_read_lock();
rcu_read_lock();
- DBG2("Trace UST destroy session %d", session->
u
id);
+ DBG2("Trace UST destroy session %d", session->id);
/* Cleaning up UST domain */
destroy_domain_global(&session->domain_global);
/* Cleaning up UST domain */
destroy_domain_global(&session->domain_global);
This page took
0.025591 seconds
and
4
git commands to generate.