projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: Fix broken reference in lttng-add-trigger
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
channel.cpp
diff --git
a/src/bin/lttng-sessiond/channel.cpp
b/src/bin/lttng-sessiond/channel.cpp
index 65bdd361d278b6dc96ac657f953ca2ab9b9da2ee..4e5401295ed43f9d36d87b2e29a78b4f2ca52b72 100644
(file)
--- a/
src/bin/lttng-sessiond/channel.cpp
+++ b/
src/bin/lttng-sessiond/channel.cpp
@@
-427,11
+427,12
@@
enum lttng_error_code channel_ust_create(struct ltt_ust_session *usess,
}
uchan->enabled = true;
}
uchan->enabled = true;
- if (trace_ust_is_max_id(usess->used_
channel
_id)) {
+ if (trace_ust_is_max_id(usess->used_
event_container
_id)) {
ret_code = LTTNG_ERR_UST_CHAN_FAIL;
goto error;
}
ret_code = LTTNG_ERR_UST_CHAN_FAIL;
goto error;
}
- uchan->id = trace_ust_get_next_chan_id(usess);
+
+ uchan->id = trace_ust_get_next_event_container_id(usess);
DBG2("Channel %s is being created for UST with buffer %d and id %" PRIu64,
uchan->name,
DBG2("Channel %s is being created for UST with buffer %d and id %" PRIu64,
uchan->name,
This page took
0.023857 seconds
and
4
git commands to generate.