projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename C++ header files to .hpp
[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..d7f6327ae788cbce1cd536ed45861f66c978da39 100644
(file)
--- a/
src/bin/lttng-sessiond/lttng-syscall.cpp
+++ b/
src/bin/lttng-sessiond/lttng-syscall.cpp
@@
-8,13
+8,13
@@
#define _LGPL_SOURCE
#include <stdbool.h>
#define _LGPL_SOURCE
#include <stdbool.h>
-#include <common/common.h>
-#include <common/kernel-ctl/kernel-ctl.h>
+#include <common/common.h
pp
>
+#include <common/kernel-ctl/kernel-ctl.h
pp
>
-#include "lttng-sessiond.h"
-#include "kernel.h"
-#include "lttng-syscall.h"
-#include "utils.h"
+#include "lttng-sessiond.h
pp
"
+#include "kernel.h
pp
"
+#include "lttng-syscall.h
pp
"
+#include "utils.h
pp
"
/* Global syscall table. */
struct syscall *syscall_table;
/* Global syscall table. */
struct syscall *syscall_table;
@@
-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.037729 seconds
and
4
git commands to generate.