projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: leak of trace chunk on destruction error
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
lttng-syscall.c
diff --git
a/src/bin/lttng-sessiond/lttng-syscall.c
b/src/bin/lttng-sessiond/lttng-syscall.c
index 9a45a8af7933ff232729d344779599887ff9cb41..2a7d1eaa0f026dee3297236df69c406aa0759db6 100644
(file)
--- a/
src/bin/lttng-sessiond/lttng-syscall.c
+++ b/
src/bin/lttng-sessiond/lttng-syscall.c
@@
-18,7
+18,6
@@
#define _LGPL_SOURCE
#include <stdbool.h>
#define _LGPL_SOURCE
#include <stdbool.h>
-#include <common/bitfield.h>
#include <common/common.h>
#include <common/kernel-ctl/kernel-ctl.h>
#include <common/common.h>
#include <common/kernel-ctl/kernel-ctl.h>
@@
-39,7
+38,7
@@
static size_t syscall_table_nb_entry;
* Return 0 on success and the syscall table is allocated. On error, a negative
* value is returned.
*/
* Return 0 on success and the syscall table is allocated. On error, a negative
* value is returned.
*/
-int syscall_init_table(
voi
d)
+int syscall_init_table(
int tracer_f
d)
{
int ret, fd, err;
size_t nbmem;
{
int ret, fd, err;
size_t nbmem;
@@
-52,7
+51,7
@@
int syscall_init_table(void)
DBG3("Syscall init system call table");
DBG3("Syscall init system call table");
- fd = kernctl_syscall_list(
kernel_
tracer_fd);
+ fd = kernctl_syscall_list(tracer_fd);
if (fd < 0) {
ret = fd;
PERROR("kernelctl syscall list");
if (fd < 0) {
ret = fd;
PERROR("kernelctl syscall list");
This page took
0.025846 seconds
and
5
git commands to generate.