projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trackers: add sessiond tracker list implementation
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
trace-kernel.c
diff --git
a/src/bin/lttng-sessiond/trace-kernel.c
b/src/bin/lttng-sessiond/trace-kernel.c
index a8aa01b269e9bc05bd4aeb28148899f38a154a06..e0491c95b3fba9112b95f33bafb78550e3b04e49 100644
(file)
--- a/
src/bin/lttng-sessiond/trace-kernel.c
+++ b/
src/bin/lttng-sessiond/trace-kernel.c
@@
-39,7
+39,7
@@
* Find the channel name for the given kernel session.
*/
struct ltt_kernel_channel *trace_kernel_get_channel_by_name(
* Find the channel name for the given kernel session.
*/
struct ltt_kernel_channel *trace_kernel_get_channel_by_name(
- char *name, struct ltt_kernel_session *session)
+ c
onst c
har *name, struct ltt_kernel_session *session)
{
struct ltt_kernel_channel *chan;
{
struct ltt_kernel_channel *chan;
@@
-710,7
+710,11
@@
void trace_kernel_destroy_session(struct ltt_kernel_session *session)
cds_list_for_each_entry_safe(channel, ctmp, &session->channel_list.head, list) {
trace_kernel_destroy_channel(channel);
}
cds_list_for_each_entry_safe(channel, ctmp, &session->channel_list.head, list) {
trace_kernel_destroy_channel(channel);
}
+}
+/* Free elements needed by destroy notifiers. */
+void trace_kernel_free_session(struct ltt_kernel_session *session)
+{
/* Wipe consumer output object */
consumer_output_put(session->consumer);
/* Wipe consumer output object */
consumer_output_put(session->consumer);
This page took
0.025791 seconds
and
5
git commands to generate.