projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement ustctl_unmap_channel()
[lttng-ust.git]
/
libustctl
/
ustctl.c
diff --git
a/libustctl/ustctl.c
b/libustctl/ustctl.c
index 3d886d3305c569f7df4092ae90ec076a932e0695..581de965c573ad2610e53692786cda5b976b1f34 100644
(file)
--- a/
libustctl/ustctl.c
+++ b/
libustctl/ustctl.c
@@
-444,6
+444,14
@@
int ustctl_add_stream(struct shm_handle *handle,
return 0;
}
return 0;
}
+void ustctl_unmap_channel(struct shm_handle *handle)
+{
+ struct channel *chan;
+
+ chan = shmp(handle, handle->chan);
+ channel_destroy(chan, handle, 1);
+}
+
/* For mmap mode, readable without "get" operation */
/* returns the length to mmap. */
/* For mmap mode, readable without "get" operation */
/* returns the length to mmap. */
This page took
0.022845 seconds
and
4
git commands to generate.