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 7b9227b86912f8a80628167fdc2908df2eb6ccf4..4c491995a1295c648d459d1f5a1b42aabab86123 100644
(file)
--- a/
src/bin/lttng-sessiond/syscall.c
+++ b/
src/bin/lttng-sessiond/syscall.c
@@
-427,6
+427,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.034955 seconds
and
4
git commands to generate.