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:
7885e39
)
Minor fix return value
author
David Goulet
<david.goulet@polymtl.ca>
Thu, 8 Dec 2011 17:23:06 +0000
(12:23 -0500)
committer
David Goulet
<david.goulet@polymtl.ca>
Thu, 8 Dec 2011 17:23:06 +0000
(12:23 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/event.c
patch
|
blob
|
blame
|
history
diff --git
a/lttng-sessiond/event.c
b/lttng-sessiond/event.c
index c8274c6bcf8a9100aed41422ff9db96734c01cf9..6e247aa9139db8cf5fcabff7b55810886c47f719 100644
(file)
--- a/
lttng-sessiond/event.c
+++ b/
lttng-sessiond/event.c
@@
-372,7
+372,6
@@
int event_ust_enable_tracepoint(struct ltt_ust_session *usess, int domain,
if (uevent->enabled) {
/* It's already enabled so everything is OK */
- ret = LTTCOMM_OK;
goto end;
}
@@
-414,13
+413,11
@@
int event_ust_enable_tracepoint(struct ltt_ust_session *usess, int domain,
rcu_read_unlock();
}
- ret = LTTCOMM_OK;
-
-end:
DBG("Event UST %s %s in channel %s", uevent->attr.name,
to_create ? "created" : "enabled", uchan->name);
- return ret;
+end:
+ return LTTCOMM_OK;
error:
trace_ust_destroy_event(uevent);
This page took
0.026627 seconds
and
4
git commands to generate.