diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2019-02-15 13:41:38 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-03-22 12:21:54 +0100 |
commit | 78cb4b202221b7ac90ffb586da362f3efb9f27b1 (patch) | |
tree | 35328000d5418a583ffb41839a3f34cf7dec6bd9 /src/afb-hook.h | |
parent | d58b8f4273c48026f22d91896c05d2a5013480b2 (diff) |
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 <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hook.h')
-rw-r--r-- | src/afb-hook.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afb-hook.h b/src/afb-hook.h index f2b51e7c..9131621c 100644 --- a/src/afb-hook.h +++ b/src/afb-hook.h @@ -17,6 +17,8 @@ #pragma once +#if WITH_AFB_HOOK /***********************************************************/ + #include <stdarg.h> #include <time.h> @@ -459,3 +461,4 @@ extern struct afb_hook_global *afb_hook_addref_global(struct afb_hook_global *ho extern void afb_hook_unref_global(struct afb_hook_global *hook); +#endif /* WITH_AFB_HOOK *******************************************************/ |