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:
d2f11c4
)
Fix: possible infinite loop in disable ust event
author
David Goulet
<dgoulet@efficios.com>
Tue, 25 Jun 2013 19:24:35 +0000
(15:24 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 25 Jun 2013 19:24:35 +0000
(15:24 -0400)
Fixes #575
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 0af7b4cb2f944288a1107b7b6ea50ff2383dcf76..9a8ed63d108696b223876ae0236097bddcd4ec2b 100644
(file)
--- a/
src/bin/lttng-sessiond/event.c
+++ b/
src/bin/lttng-sessiond/event.c
@@
-527,8
+527,7
@@
int event_ust_disable_tracepoint(struct ltt_ust_session *usess,
if (uevent->enabled == 0) {
/* It's already disabled so everything is OK */
- ret = LTTNG_OK;
- continue;
+ goto next;
}
ret = ust_app_disable_event_glb(usess, uchan, uevent);
@@
-541,6
+540,7
@@
int event_ust_disable_tracepoint(struct ltt_ust_session *usess,
DBG2("Event UST %s disabled in channel %s", uevent->attr.name,
uchan->name);
+next:
/* Get next duplicate event by name. */
cds_lfht_next_duplicate(ht->ht, trace_ust_ht_match_event_by_name,
event_name, &iter.iter);
This page took
0.035741 seconds
and
4
git commands to generate.