projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b8f2e6
)
Fix: Wrong returned error code on UST enable event
author
David Goulet
<dgoulet@efficios.com>
Fri, 21 Sep 2012 16:59:10 +0000
(12:59 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Fri, 21 Sep 2012 16:59:10 +0000
(12:59 -0400)
Instead of sending back a FATAL error, correctly notify the user of a
failed UST enable event.
The bug261 was not reproducible anymore but led to this fix.
(Closes 261)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/event.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/event.c
b/src/bin/lttng-sessiond/event.c
index ee3ebfe3bce81f0aa5d79b05a43e566f6e3a38a0..2173e414a0a015545478a671e3cd930f02b0bf83 100644
(file)
--- a/
src/bin/lttng-sessiond/event.c
+++ b/
src/bin/lttng-sessiond/event.c
@@
-414,7
+414,7
@@
int event_ust_enable_tracepoint(struct ltt_ust_session *usess, int domain,
if (uevent == NULL) {
uevent = trace_ust_create_event(event);
if (uevent == NULL) {
- ret = LTTNG_ERR_
FATA
L;
+ ret = LTTNG_ERR_
UST_ENABLE_FAI
L;
goto error;
}
/* Valid to set it after the goto error since uevent is still NULL */
This page took
0.026257 seconds
and
4
git commands to generate.