From d7936bbe45900b7bb315e0504672d242b7100af5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 24 Aug 2017 10:22:43 +0200 Subject: [PATCH] afb-monitor: update hooks for tracing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Updating hooks is needed (at the moment) also for events. Change-Id: If5f6259499b3d35a2fd5504185b9f751f96c4e06 Signed-off-by: José Bollo --- src/afb-monitor.c | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.16.6