projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: syscalls hash table leaks when listing kernel events
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
syscall.c
diff --git
a/src/bin/lttng-sessiond/syscall.c
b/src/bin/lttng-sessiond/syscall.c
index 43c0a2010225a804763b6843bd7329a44c542726..f47cd4539a8f6c980422141eb32e0a4c3da72bba 100644
(file)
--- a/
src/bin/lttng-sessiond/syscall.c
+++ b/
src/bin/lttng-sessiond/syscall.c
@@
-428,6
+428,10
@@
ssize_t syscall_list_channel(struct ltt_kernel_channel *kchan,
count++;
}
+ rcu_read_lock();
+ destroy_syscall_ht(syscalls_ht);
+ rcu_read_unlock();
+
*_events = events;
return count;
This page took
0.023471 seconds
and
4
git commands to generate.