projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: sessiond: cmd_enable_channel_internal
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
lttng-syscall.cpp
diff --git
a/src/bin/lttng-sessiond/lttng-syscall.cpp
b/src/bin/lttng-sessiond/lttng-syscall.cpp
index f14563457aeff498f1815d83c5725ce316febf76..42e902b5e2eccb3c964f8cd033a1d0306fd49d93 100644
(file)
--- a/
src/bin/lttng-sessiond/lttng-syscall.cpp
+++ b/
src/bin/lttng-sessiond/lttng-syscall.cpp
@@
-156,6
+156,8
@@
static void destroy_syscall_ht(struct lttng_ht *ht)
struct lttng_ht_iter iter;
struct syscall *ksyscall;
struct lttng_ht_iter iter;
struct syscall *ksyscall;
+ ASSERT_RCU_READ_LOCKED();
+
DBG3("Destroying syscall hash table.");
if (!ht) {
DBG3("Destroying syscall hash table.");
if (!ht) {
@@
-169,7
+171,7
@@
static void destroy_syscall_ht(struct lttng_ht *ht)
LTTNG_ASSERT(!ret);
free(ksyscall);
}
LTTNG_ASSERT(!ret);
free(ksyscall);
}
-
ht_cleanup_push
(ht);
+
lttng_ht_destroy
(ht);
}
/*
}
/*
This page took
0.031484 seconds
and
4
git commands to generate.