Bug #1184 » 0001-Fix-initialize-syscall-table-when-kernel-tracer-is-l.patch
src/bin/lttng-sessiond/main.c | ||
---|---|---|
}
|
||
DBG("Kernel tracer fd %d", kernel_tracer_fd);
|
||
ret = syscall_init_table();
|
||
if (ret < 0) {
|
||
ERR("Unable to populate syscall table. Syscall tracing won't "
|
||
"work for this session daemon.");
|
||
}
|
||
return 0;
|
||
error_version:
|
||
... | ... | |
/* Setup kernel tracer */
|
||
if (!config.no_kernel) {
|
||
init_kernel_tracer();
|
||
if (kernel_tracer_fd >= 0) {
|
||
ret = syscall_init_table();
|
||
if (ret < 0) {
|
||
ERR("Unable to populate syscall table. "
|
||
"Syscall tracing won't work "
|
||
"for this session daemon.");
|
||
}
|
||
}
|
||
}
|
||
/* Set ulimit for open files */
|
- « Previous
- 1
- 2
- Next »