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:
d4b5a90
)
Fix: RCU read side lock unbalanced
author
David Goulet
<dgoulet@efficios.com>
Fri, 12 Jul 2013 14:23:28 +0000
(10:23 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Fri, 12 Jul 2013 15:18:28 +0000
(11:18 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index b2faa41b114177082d49e41570f43d47384f098f..636450782d7a7a4729d332c379a157140cf02a28 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-857,6
+857,8
@@
int cmd_enable_channel(struct ltt_session *session,
DBG("Enabling channel %s for session %s", attr->name, session->name);
+ rcu_read_lock();
+
/*
* Don't try to enable a channel if the session has been started at
* some point in time before. The tracer does not allow it.
@@
-866,8
+868,6
@@
int cmd_enable_channel(struct ltt_session *session,
goto error;
}
- rcu_read_lock();
-
switch (domain->type) {
case LTTNG_DOMAIN_KERNEL:
{
This page took
0.027622 seconds
and
4
git commands to generate.