projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Typo from a previous patch in an assert()
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
cmd.c
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index 386b99ae216504e86cf9225f300816791e4f4234..041b3e1bda8ea5e5d4c678aa26f14d0b7d831e38 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-736,7
+736,7
@@
static int start_kernel_session(struct ltt_kernel_session *ksess, int wpipe)
}
/* Quiescent wait after starting trace */
}
/* Quiescent wait after starting trace */
- kernel_wait_quiescent(
wpipe
);
+ kernel_wait_quiescent(
kernel_tracer_fd
);
ksess->started = 1;
ksess->started = 1;
@@
-826,9
+826,6
@@
int cmd_enable_channel(struct ltt_session *session,
{
struct ltt_kernel_channel *kchan;
{
struct ltt_kernel_channel *kchan;
- /* Mandatory for a kernel channel. */
- assert(wpipe > 0);
-
kchan = trace_kernel_get_channel_by_name(attr->name,
session->kernel_session);
if (kchan == NULL) {
kchan = trace_kernel_get_channel_by_name(attr->name,
session->kernel_session);
if (kchan == NULL) {
@@
-841,7
+838,7
@@
int cmd_enable_channel(struct ltt_session *session,
goto error;
}
goto error;
}
- kernel_wait_quiescent(
wpipe
);
+ kernel_wait_quiescent(
kernel_tracer_fd
);
/*
* If the session was previously started, start as well this newly
/*
* If the session was previously started, start as well this newly
This page took
0.023258 seconds
and
4
git commands to generate.