projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LTTng ringbuffer ABI calls for index generation
[lttng-modules.git]
/
lttng-events.c
diff --git
a/lttng-events.c
b/lttng-events.c
index 4b891cd5ecda22e8778f5a4592f19c9e2574172f..879097b4a8c7af056c0f0ec57dbef4d9376e7c57 100644
(file)
--- a/
lttng-events.c
+++ b/
lttng-events.c
@@
-285,6
+285,7
@@
struct lttng_channel *lttng_channel_create(struct lttng_session *session,
goto nomem;
chan->session = session;
chan->id = session->free_chan_id++;
goto nomem;
chan->session = session;
chan->id = session->free_chan_id++;
+ chan->ops = &transport->ops;
/*
* Note: the channel creation op already writes into the packet
* headers. Therefore the "chan" information used as input
/*
* Note: the channel creation op already writes into the packet
* headers. Therefore the "chan" information used as input
@@
-296,7
+297,6
@@
struct lttng_channel *lttng_channel_create(struct lttng_session *session,
if (!chan->chan)
goto create_error;
chan->enabled = 1;
if (!chan->chan)
goto create_error;
chan->enabled = 1;
- chan->ops = &transport->ops;
chan->transport = transport;
chan->channel_type = channel_type;
list_add(&chan->list, &session->chan);
chan->transport = transport;
chan->channel_type = channel_type;
list_add(&chan->list, &session->chan);
This page took
0.02467 seconds
and
4
git commands to generate.