projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add auto start UST trace support
[lttng-tools.git]
/
lttng-sessiond
/
trace-ust.c
diff --git
a/lttng-sessiond/trace-ust.c
b/lttng-sessiond/trace-ust.c
index 3e1055a8ba8e990556ebd41b1a1f7748a6ff08d9..a1715f2532e793b7793c6fafb3c9ae062d978898 100644
(file)
--- a/
lttng-sessiond/trace-ust.c
+++ b/
lttng-sessiond/trace-ust.c
@@
-92,13
+92,14
@@
struct ltt_ust_session *trace_ust_create_session(char *path, unsigned int uid,
/* Allocate a new ltt ust session */
lus = malloc(sizeof(struct ltt_ust_session));
if (lus == NULL) {
/* Allocate a new ltt ust session */
lus = malloc(sizeof(struct ltt_ust_session));
if (lus == NULL) {
-
perror
("create ust session malloc");
+
PERROR
("create ust session malloc");
goto error;
}
/* Init data structure */
lus->consumer_fds_sent = 0;
lus->uid = uid;
goto error;
}
/* Init data structure */
lus->consumer_fds_sent = 0;
lus->uid = uid;
+ lus->start_trace = 0;
/* Alloc UST domain hash tables */
lus->domain_pid = hashtable_new(0);
/* Alloc UST domain hash tables */
lus->domain_pid = hashtable_new(0);
This page took
0.02404 seconds
and
4
git commands to generate.