From f549f5527148b32a15489aae75c9e4557e19cbd4 Mon Sep 17 00:00:00 2001 From: Yusuke Sato Date: Fri, 18 May 2018 14:35:31 +0900 Subject: Introduce controlling entire system trace status feature from dlt-control (#57) * dlt-control: Provision to control entire system trace status 1. support for setting trace status using wildcards for both app and context 2. support for setting entire system trace status *This Logic is as same as for changing log level. (SHA: a966393ad7003d02870bceffa08df5ddf4bbf864 dlt-control: Provision to control entire system log level) * dlt-daemon: Fix control entire log level / trace status issue In previous, dlt-control could send request to set all log level / trace status with DLT_LOG_DEFAULT / DLT_TRACE_STATUS_DEFAULT(-1). However, dlt-daemon could not accept these value. This change fix this issue so that setting log level/trace status of all registered contexts become possible. Signed-off-by: Yusuke Sato --- include/dlt/dlt_protocol.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/dlt/dlt_protocol.h') diff --git a/include/dlt/dlt_protocol.h b/include/dlt/dlt_protocol.h index ee9c326..1440d6c 100644 --- a/include/dlt/dlt_protocol.h +++ b/include/dlt/dlt_protocol.h @@ -202,6 +202,7 @@ #define DLT_SERVICE_ID_PASSIVE_NODE_CONNECT 0xf0E /**< Service ID: (Dis)Connect passive Node */ #define DLT_SERVICE_ID_PASSIVE_NODE_CONNECTION_STATUS 0xf0F /**< Service ID: Passive Node status information */ #define DLT_SERVICE_ID_SET_ALL_LOG_LEVEL 0xf10 /**< Service ID: set all log level */ +#define DLT_SERVICE_ID_SET_ALL_TRACE_STATUS 0xf11 /**< Service ID: Set all trace status */ #define DLT_SERVICE_ID_CALLSW_CINJECTION 0xFFF /**< Service ID: Message Injection (minimal ID) */ /* -- cgit v1.2.1