Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-monitor: draft of monitoring
[src/app-framework-binder.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
3541e44
..
0522e70
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-45,6
+45,7
@@
#include "afb-session.h"
#include "verbose.h"
#include "afb-common.h"
#include "afb-session.h"
#include "verbose.h"
#include "afb-common.h"
+#include "afb-monitor.h"
#include "afb-hook.h"
#include "sd-fds.h"
#include "afb-hook.h"
#include "sd-fds.h"
@@
-560,6
+561,8
@@
static void start()
ERROR("can't create main api set");
goto error;
}
ERROR("can't create main api set");
goto error;
}
+ if (afb_monitor_init() < 0) {
+ ERROR("failed to setup monitor");
goto error;
}
goto error;
}