projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move UST registry into sessiond and implement notifiers
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-abi.c
diff --git
a/liblttng-ust/lttng-ust-abi.c
b/liblttng-ust/lttng-ust-abi.c
index 006e996264f8964e38f67038dec09d1d508be19f..1e146e6196512cc545485c17da935240edb7ae31 100644
(file)
--- a/
liblttng-ust/lttng-ust-abi.c
+++ b/
liblttng-ust/lttng-ust-abi.c
@@
-294,6
+294,7
@@
int lttng_abi_create_session(void *owner)
goto objd_error;
}
session->objd = session_objd;
goto objd_error;
}
session->objd = session_objd;
+ session->owner = owner;
return session_objd;
objd_error:
return session_objd;
objd_error:
@@
-305,9
+306,9
@@
static
long lttng_abi_tracer_version(int objd,
struct lttng_ust_tracer_version *v)
{
long lttng_abi_tracer_version(int objd,
struct lttng_ust_tracer_version *v)
{
- v->major = LTTNG_UST_
INTERNAL_
MAJOR_VERSION;
- v->minor = LTTNG_UST_
INTERNAL_
MINOR_VERSION;
- v->patchlevel = LTTNG_UST_
INTERNAL_
PATCHLEVEL_VERSION;
+ v->major = LTTNG_UST_MAJOR_VERSION;
+ v->minor = LTTNG_UST_MINOR_VERSION;
+ v->patchlevel = LTTNG_UST_PATCHLEVEL_VERSION;
return 0;
}
return 0;
}
@@
-498,8
+499,6
@@
int lttng_abi_map_channel(int session_objd,
lttng_chan->enabled = 1;
lttng_chan->ctx = NULL;
lttng_chan->session = session;
lttng_chan->enabled = 1;
lttng_chan->ctx = NULL;
lttng_chan->session = session;
- lttng_chan->free_event_id = 0;
- lttng_chan->used_event_id = 0;
lttng_chan->ops = &transport->ops;
memcpy(<tng_chan->chan->backend.config,
transport->client_config,
lttng_chan->ops = &transport->ops;
memcpy(<tng_chan->chan->backend.config,
transport->client_config,
@@
-508,7
+507,6
@@
int lttng_abi_map_channel(int session_objd,
lttng_chan->header_type = 0;
lttng_chan->handle = channel_handle;
lttng_chan->metadata_dumped = 0;
lttng_chan->header_type = 0;
lttng_chan->handle = channel_handle;
lttng_chan->metadata_dumped = 0;
- lttng_chan->id = session->free_chan_id++;
lttng_chan->type = type;
/*
lttng_chan->type = type;
/*
This page took
0.023632 seconds
and
4
git commands to generate.