From 4026dbb4fbdf1d7308f5b2efa5bc946e3d4acc19 Mon Sep 17 00:00:00 2001 From: Bui Nguyen Quoc Thanh Date: Mon, 13 Jul 2020 17:24:51 +0700 Subject: design doc: update spec for new environment variable Signed-off-by: Bui Nguyen Quoc Thanh --- doc/dlt_design_specification.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/dlt_design_specification.md b/doc/dlt_design_specification.md index 5731cec..a6df3c5 100644 --- a/doc/dlt_design_specification.md +++ b/doc/dlt_design_specification.md @@ -333,6 +333,12 @@ During sending of a network trace message, the following things occur: During registration of a callback function for an injection message, then following steps are executed: + - Check if the environment variable DLT\_DISABLE\_INJECTION\_MSG\_AT\_USER is set. + - If yes: + - libdlt will ignore all data/messages from dlt-daemon, including: + loglevel change, custom injection messages ... + - If no (default): + - libdlt will handle all data/messages from dlt-daemon as normal. - For the specified context, check if service id is already in the table of the registered callbacks (this table is dynamically growing in steps of one entry). - If yes: -- cgit v1.2.1