summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-08-24 10:22:43 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-08-24 19:06:07 +0200
commitd7936bbe45900b7bb315e0504672d242b7100af5 (patch)
tree611b4ea78b84c1c64e5c0487785af85b9078bfc5
parent82c1183b806b14e3e80d97b015cf1c25ac583912 (diff)
afb-monitor: update hooks for tracing
Updating hooks is needed (at the moment) also for events. Change-Id: If5f6259499b3d35a2fd5504185b9f751f96c4e06 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-monitor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-monitor.c b/src/afb-monitor.c
index 4bedc49d..9f01cc02 100644
--- 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-evt.h"
#include "afb-xreq.h"
#include "afb-trace.h"
#include "verbose.h"
@@ -355,5 +356,6 @@ static void f_trace(struct afb_req req)
afb_req_success(req, NULL, NULL);
end:
afb_apiset_update_hooks(main_apiset, NULL);
+ afb_evt_update_hooks();
}