projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve fork handling
[ust.git]
/
libust
/
tracectl.c
diff --git
a/libust/tracectl.c
b/libust/tracectl.c
index 51460d185e6c8378a87dc7c236df7ea97698ea12..faa471461c71c901b9399682ac019f0cb8fe1c13 100644
(file)
--- a/
libust/tracectl.c
+++ b/
libust/tracectl.c
@@
-1006,13
+1006,15
@@
static void __attribute__((constructor(1000))) init()
return;
}
return;
}
- inform_consumer_daemon(trace_name);
-
result = ltt_trace_start(trace_name);
if(result < 0) {
ERR("ltt_trace_start failed");
return;
}
result = ltt_trace_start(trace_name);
if(result < 0) {
ERR("ltt_trace_start failed");
return;
}
+
+ /* Do this after the trace is started in order to avoid creating confusion
+ * if the trace fails to start. */
+ inform_consumer_daemon(trace_name);
}
}
This page took
0.023458 seconds
and
4
git commands to generate.