projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update lib ring buffer for external consumer
[lttng-ust.git]
/
libust
/
lttng-ust-abi.c
diff --git
a/libust/lttng-ust-abi.c
b/libust/lttng-ust-abi.c
index cea8c30bffe8d29e39d4792bbfd6032b62c21d4c..16566c876664df8ae6a9e812ea126d2aa652ed77 100644
(file)
--- a/
libust/lttng-ust-abi.c
+++ b/
libust/lttng-ust-abi.c
@@
-179,13
+179,8
@@
void objd_table_destroy(void)
for (i = 0; i < objd_table.allocated_len; i++) {
struct obj *obj = _objd_get(i);
for (i = 0; i < objd_table.allocated_len; i++) {
struct obj *obj = _objd_get(i);
- const struct objd_ops *ops;
- if (!obj)
- continue;
- ops = obj->u.s.ops;
- if (ops->release)
- ops->release(i);
+ (void) objd_unref(i);
}
free(objd_table.array);
objd_table.array = NULL;
}
free(objd_table.array);
objd_table.array = NULL;
@@
-754,6
+749,7
@@
int lttng_rb_release(int objd)
buf = priv->buf;
channel = priv->ltt_chan;
free(priv);
buf = priv->buf;
channel = priv->ltt_chan;
free(priv);
+ channel->ops->buffer_read_close(buf, channel->handle);
return objd_unref(channel->objd);
}
return objd_unref(channel->objd);
}
This page took
0.031787 seconds
and
4
git commands to generate.