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: update hooks for tracing
[src/app-framework-binder.git]
/
src
/
afb-monitor.c
diff --git
a/src/afb-monitor.c
b/src/afb-monitor.c
index
369c5bf
..
9f01cc0
100644
(file)
--- a/
src/afb-monitor.c
+++ b/
src/afb-monitor.c
@@
-28,6
+28,7
@@
#include "afb-apiset.h"
#include "afb-api-so-v2.h"
#include "afb-ditf.h"
#include "afb-apiset.h"
#include "afb-api-so-v2.h"
#include "afb-ditf.h"
+#include "afb-evt.h"
#include "afb-xreq.h"
#include "afb-trace.h"
#include "verbose.h"
#include "afb-xreq.h"
#include "afb-trace.h"
#include "verbose.h"
@@
-345,13
+346,16
@@
static void f_trace(struct afb_req req)
if (add) {
rc = afb_trace_add(req, add, trace);
if (rc)
if (add) {
rc = afb_trace_add(req, add, trace);
if (rc)
-
return
;
+
goto end
;
}
if (drop) {
rc = afb_trace_drop(req, drop, trace);
if (rc)
}
if (drop) {
rc = afb_trace_drop(req, drop, trace);
if (rc)
-
return
;
+
goto end
;
}
afb_req_success(req, NULL, NULL);
}
afb_req_success(req, NULL, NULL);
+end:
+ afb_apiset_update_hooks(main_apiset, NULL);
+ afb_evt_update_hooks();
}
}