aboutsummaryrefslogtreecommitdiffstats
path: root/coverage
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-15 13:41:38 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-29 14:14:13 +0100
commita2cf84ecde926adeebf09bc2c284401513d3fab3 (patch)
tree2aeb893daf240e34ab12a8828f1b3ad9b900422c /coverage
parent5011060f04181acbb18babcc2017a2f0b6cfb853 (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 'coverage')
-rw-r--r--coverage/bin/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/coverage/bin/Makefile b/coverage/bin/Makefile
index ef8b68e8..c0581693 100644
--- a/coverage/bin/Makefile
+++ b/coverage/bin/Makefile
@@ -63,6 +63,12 @@ cflags = $(ccflags) $(ldflags)
defs = -DAGL_DEVEL \
-DWITH_MONITORING_OPTION \
-DAFB_VERSION=\"cov\" \
+ -DUSE_SIG_MONITOR_DUMPSTACK=1 \
+ -DUSE_SIG_MONITOR_SIGNALS=1 \
+ -DUSE_SIG_MONITOR_FOR_CALL=1 \
+ -DUSE_SIG_MONITOR_TIMERS=1 \
+ -DWITH_AFB_HOOK=1 \
+ -DWITH_AFB_TRACE=1 \
-DBINDING_INSTALL_DIR=\"$(shell pwd)/fake\"
afb_lib_src = $(shell ls $(srcdir)/*.c | egrep -v '/afs-|/main-|/fdev-epoll.c|/afb-ws-client.c' )