From a2cf84ecde926adeebf09bc2c284401513d3fab3 Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Fri, 15 Feb 2019 13:41:38 +0100 Subject: hooks: Allow to remove hooking (and/or trace) This change allows to downsize the binder by removing its internal hooking and tracing features. Change-Id: Ifb080a7426216f6c6b1c8f8e5bf8ddd52df40a3e Signed-off-by: Jose Bollo --- src/afb-apiset.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/afb-apiset.h') diff --git a/src/afb-apiset.h b/src/afb-apiset.h index f5e40332..d1f968b7 100644 --- a/src/afb-apiset.h +++ b/src/afb-apiset.h @@ -54,7 +54,9 @@ extern const struct afb_api_item *afb_apiset_lookup_started(struct afb_apiset *s extern int afb_apiset_start_service(struct afb_apiset *set, const char *name); extern int afb_apiset_start_all_services(struct afb_apiset *set); +#if WITH_AFB_HOOK extern void afb_apiset_update_hooks(struct afb_apiset *set, const char *name); +#endif extern void afb_apiset_set_logmask(struct afb_apiset *set, const char *name, int mask); extern int afb_apiset_get_logmask(struct afb_apiset *set, const char *name); -- cgit 1.2.3-korg