/Zephyr-latest/subsys/logging/ |
D | log_mgmt.c | 49 uint8_t domain_id; member 69 (s0.id.domain_id == s1.id.domain_id); in source_id_cmp() 84 static const struct log_link *get_link_domain(uint8_t domain_id, uint8_t *rel_domain_id) in get_link_domain() argument 91 if (domain_id < domain_max) { in get_link_domain() 93 *rel_domain_id = domain_id - link->ctrl_blk->domain_offset; in get_link_domain() 121 uint32_t *z_log_link_get_dynamic_filter(uint8_t domain_id, uint32_t source_id) in z_log_link_get_dynamic_filter() argument 124 const struct log_link *link = get_link_domain(domain_id, &rel_domain_id); in z_log_link_get_dynamic_filter() 188 static uint16_t link_source_count(uint8_t domain_id) in link_source_count() argument 191 const struct log_link *link = get_link_domain(domain_id, &rel_domain_id); in link_source_count() 198 uint32_t log_src_cnt_get(uint32_t domain_id) in log_src_cnt_get() argument [all …]
|
D | log_multidomain_link.c | 129 uint32_t domain_id, in link_remote_get_source_count() argument 135 .data = { .source_cnt = { .domain_id = domain_id } } in link_remote_get_source_count() 215 uint32_t domain_id, in link_remote_get_domain_name() argument 221 .data = { .domain_name = { .domain_id = domain_id } } in link_remote_get_domain_name() 238 uint32_t domain_id, uint16_t source_id, in link_remote_get_source_name() argument 246 .domain_id = domain_id, in link_remote_get_source_name() 265 uint32_t domain_id, uint16_t source_id, in link_remote_get_levels() argument 273 .domain_id = domain_id, in link_remote_get_levels() 296 uint32_t domain_id, uint16_t source_id, in link_remote_set_runtime_level() argument 304 .domain_id = domain_id, in link_remote_set_runtime_level()
|
D | log_msg.c | 345 void z_log_msg_runtime_vcreate(uint8_t domain_id, const void *source, in z_log_msg_runtime_vcreate() argument 373 Z_LOG_MSG_DESC_INITIALIZER(domain_id, level, plen, dlen); in z_log_msg_runtime_vcreate()
|
D | log_core.c | 479 uint8_t domain_id; in msg_filter_check() local 483 domain_id = log_msg_get_domain(&msg->log); in msg_filter_check() 491 backend_level = log_filter_get(backend, domain_id, source_id, true); in msg_filter_check()
|
D | log_output.c | 691 uint8_t domain_id = log_msg_get_domain(msg); in log_output_msg_process() local 694 const char *sname = source_id >= 0 ? log_source_name_get(domain_id, source_id) : NULL; in log_output_msg_process()
|
/Zephyr-latest/tests/subsys/logging/log_links/src/ |
D | mock_log_link.c | 27 static int get_domain_name(const struct log_link *link, uint32_t domain_id, in get_domain_name() argument 32 *length = strlen(mock->domains[domain_id]->name); in get_domain_name() 35 strncpy(buf, mock->domains[domain_id]->name, *length); in get_domain_name() 41 static int get_source_name(const struct log_link *link, uint32_t domain_id, in get_source_name() argument 46 strncpy(buf, mock->domains[domain_id]->sources[source_id].source, in get_source_name() 48 *length = strlen(mock->domains[domain_id]->sources[source_id].source); in get_source_name() 53 static int get_levels(const struct log_link *link, uint32_t domain_id, in get_levels() argument 58 *level = mock->domains[domain_id]->sources[source_id].clevel; in get_levels() 61 *runtime_level = mock->domains[domain_id]->sources[source_id].rlevel; in get_levels() 67 static int set_runtime_level(const struct log_link *link, uint32_t domain_id, in set_runtime_level() argument [all …]
|
/Zephyr-latest/include/zephyr/logging/ |
D | log_link.h | 42 int (*get_domain_name)(const struct log_link *link, uint32_t domain_id, 44 int (*get_source_name)(const struct log_link *link, uint32_t domain_id, 46 int (*get_levels)(const struct log_link *link, uint32_t domain_id, 49 int (*set_runtime_level)(const struct log_link *link, uint32_t domain_id, 182 uint32_t domain_id) in log_link_sources_count() argument 186 return link->ctrl_blk->source_cnt[domain_id]; in log_link_sources_count() 202 uint32_t domain_id, char *buf, in log_link_get_domain_name() argument 207 return link->api->get_domain_name(link, domain_id, buf, length); in log_link_get_domain_name() 223 uint32_t domain_id, uint16_t source_id, in log_link_get_source_name() argument 229 return link->api->get_source_name(link, domain_id, source_id, in log_link_get_source_name() [all …]
|
D | log_ctrl.h | 111 uint32_t log_src_cnt_get(uint32_t domain_id); 121 const char *log_source_name_get(uint32_t domain_id, uint32_t source_id); 140 const char *log_domain_name_get(uint32_t domain_id); 162 uint32_t domain_id, int16_t source_id, bool runtime); 176 uint32_t domain_id, int16_t source_id,
|
D | log_multidomain_helper.h | 83 uint8_t domain_id; member 89 uint8_t domain_id; member 95 uint8_t domain_id; member 102 uint8_t domain_id; member 110 uint8_t domain_id; member
|
D | log_internal.h | 154 static inline bool z_log_is_local_domain(uint8_t domain_id) in z_log_is_local_domain() argument 157 (domain_id == Z_LOG_LOCAL_DOMAIN_ID); in z_log_is_local_domain()
|
D | log_msg.h | 678 void z_log_msg_runtime_vcreate(uint8_t domain_id, const void *source, 705 static inline void z_log_msg_runtime_create(uint8_t domain_id, in z_log_msg_runtime_create() argument 714 z_log_msg_runtime_vcreate(domain_id, source, level, in z_log_msg_runtime_create()
|
/Zephyr-latest/subsys/logging/backends/ |
D | log_multidomain_backend.c | 92 uint8_t domain_id, uint16_t source_id, in get_name_response() argument 96 log_domain_name_get(domain_id) : in get_name_response() 97 log_source_name_get(domain_id, source_id); in get_name_response() 117 outmsg->data.domain_name.domain_id = domain_id; in get_name_response() 119 outmsg->data.source_name.domain_id = domain_id; in get_name_response() 146 log_src_cnt_get(msg->data.source_cnt.domain_id); in log_multidomain_backend_on_recv_cb() 151 msg->data.domain_name.domain_id, in log_multidomain_backend_on_recv_cb() 157 msg->data.source_name.domain_id, in log_multidomain_backend_on_recv_cb() 165 outmsg.data.levels.domain_id, in log_multidomain_backend_on_recv_cb() 170 outmsg.data.levels.domain_id, in log_multidomain_backend_on_recv_cb() [all …]
|
/Zephyr-latest/tests/subsys/logging/log_link_order/src/ |
D | mock_log_link.c | 22 static int get_domain_name(const struct log_link *link, uint32_t domain_id, in get_domain_name() argument 31 static int get_source_name(const struct log_link *link, uint32_t domain_id, in get_source_name() argument 41 static int get_levels(const struct log_link *link, uint32_t domain_id, in get_levels() argument 54 static int set_runtime_level(const struct log_link *link, uint32_t domain_id, in set_runtime_level() argument
|
/Zephyr-latest/tests/subsys/logging/log_api/src/ |
D | mock_backend.h | 21 uint16_t domain_id; member 54 uint16_t domain_id, 63 uint16_t domain_id, in mock_log_backend_record() argument 68 mock_log_backend_generic_record(backend, source_id, domain_id, level, in mock_log_backend_record()
|
D | mock_frontend.c | 44 uint16_t domain_id, in mock_log_frontend_generic_record() argument 54 mock_log_backend_generic_record(&backend, source_id, domain_id, level, in mock_log_frontend_generic_record() 111 zassert_equal(desc.domain, exp_msg->domain_id); in log_frontend_msg()
|
D | mock_backend.c | 57 uint16_t domain_id, in mock_log_backend_generic_record() argument 78 exp->domain_id = domain_id; in mock_log_backend_generic_record() 150 zassert_equal(msg->log.hdr.desc.domain, exp->domain_id); in process()
|
D | mock_frontend.h | 18 uint16_t domain_id,
|
/Zephyr-latest/include/zephyr/xen/public/ |
D | sched.h | 150 domid_t domain_id; /* Remote domain ID */ member
|
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/ |
D | log_parser_v3.py | 280 domain_id = (domain_lvl >> 4) & 0x0F 282 domain_id = domain_lvl & 0x0F 286 source_id_str = self.database.get_log_source_string(domain_id, source_id)
|
D | log_parser_v1.py | 272 domain_id = log_desc & 0x07 278 source_id_str = self.database.get_log_source_string(domain_id, source_id)
|
D | log_database.py | 241 def get_log_source_string(self, domain_id, source_id): argument
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_intel_vtd.h | 71 uint64_t domain_id : 16; member
|
/Zephyr-latest/doc/services/logging/ |
D | index.rst | 576 ``source_id`` and ``domain_id``. 578 The value assigned to the ``domain_id`` is relative. Whenever a domain creates a log message, 579 it sets its ``domain_id`` to ``0``. 580 When a message crosses the domain, ``domain_id`` changes as it is increased by the link offset. 597 1. Initially, it has its ``domain_id`` set to ``0``. 598 #. When the *B_NS-B_S* link receives the message, it increases the ``domain_id`` 601 #. When the *A_NS-B_NS* link receives the message, it adds the offset (``2``) to the ``domain_id``. 602 The message ends up with the ``domain_id`` set to ``3``, which uniquely identifies the message
|