projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docs: relayd: document the lifetime of viewer session trace chunks
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
modprobe.c
diff --git
a/src/bin/lttng-sessiond/modprobe.c
b/src/bin/lttng-sessiond/modprobe.c
index 8d162857f6ae88eeec547857d96baf055db99b63..24b34d0942b320a8fb9b888a8fd9db0d43620592 100644
(file)
--- a/
src/bin/lttng-sessiond/modprobe.c
+++ b/
src/bin/lttng-sessiond/modprobe.c
@@
-14,7
+14,6
@@
*/
#define _LGPL_SOURCE
*/
#define _LGPL_SOURCE
-#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/wait.h>
@@
-644,7
+643,7
@@
static int append_list_to_probes(const char *list)
int ret;
char *tmp_list, *cur_list, *saveptr;
int ret;
char *tmp_list, *cur_list, *saveptr;
-
assert
(list);
+
LTTNG_ASSERT
(list);
cur_list = tmp_list = strdup(list);
if (!tmp_list) {
cur_list = tmp_list = strdup(list);
if (!tmp_list) {
@@
-718,7
+717,7
@@
int modprobe_lttng_data(void)
* Base probes: either from command line option, environment
* variable or default list.
*/
* Base probes: either from command line option, environment
* variable or default list.
*/
- list = config.kmod_probes_list.value;
+ list =
the_
config.kmod_probes_list.value;
if (list) {
/* User-specified probes. */
ret = append_list_to_probes(list);
if (list) {
/* User-specified probes. */
ret = append_list_to_probes(list);
@@
-754,7
+753,7
@@
int modprobe_lttng_data(void)
/*
* Extra modules? Append them to current probes list.
*/
/*
* Extra modules? Append them to current probes list.
*/
- list = config.kmod_extra_probes_list.value;
+ list =
the_
config.kmod_extra_probes_list.value;
if (list) {
ret = append_list_to_probes(list);
if (ret) {
if (list) {
ret = append_list_to_probes(list);
if (ret) {
This page took
0.026035 seconds
and
4
git commands to generate.