afb-trace: Add tracing features to API monitor
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 31 Jul 2017 15:50:13 +0000 (17:50 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 8 Aug 2017 09:55:36 +0000 (11:55 +0200)
commit4ecf37c1899349e6ef7ac08813ebb52fc80b2677
tree88d6b940fc8e6f296ac2a93dfab32bba1711418d
parent330edf6a1ec91fa5a9829d6450fa4fff0b91c693
afb-trace: Add tracing features to API monitor

This api allows to receive events when particular actions
are reached.

At the moment, tracing is bound to the API monitor
and can trace anything. In the future, this will not be
the case and the API monitor will only allow to trace
requests of its session. The tracing of all will
be available for supervision only.

Change-Id: I880852612c2f77ff5329496b16c75fe602db4090
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/CMakeLists.txt
src/afb-monitor.c
src/afb-session.c
src/afb-trace.c [new file with mode: 0644]
src/afb-trace.h [new file with mode: 0644]
src/genskel/monitor-api.json
src/monitor-api.inc