Home
last modified time | relevance | path

Searched refs:domain_id (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/subsys/logging/
Dlog_mgmt.c49 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 …]
Dlog_multidomain_link.c129 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()
Dlog_msg.c345 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()
Dlog_core.c479 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()
Dlog_output.c691 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/
Dmock_log_link.c27 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/
Dlog_link.h42 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 …]
Dlog_ctrl.h111 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,
Dlog_multidomain_helper.h83 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
Dlog_internal.h154 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()
Dlog_msg.h678 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/
Dlog_multidomain_backend.c92 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/
Dmock_log_link.c22 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/
Dmock_backend.h21 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()
Dmock_frontend.c44 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()
Dmock_backend.c57 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()
Dmock_frontend.h18 uint16_t domain_id,
/Zephyr-latest/include/zephyr/xen/public/
Dsched.h150 domid_t domain_id; /* Remote domain ID */ member
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v3.py280 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)
Dlog_parser_v1.py272 domain_id = log_desc & 0x07
278 source_id_str = self.database.get_log_source_string(domain_id, source_id)
Dlog_database.py241 def get_log_source_string(self, domain_id, source_id): argument
/Zephyr-latest/drivers/interrupt_controller/
Dintc_intel_vtd.h71 uint64_t domain_id : 16; member
/Zephyr-latest/doc/services/logging/
Dindex.rst576 ``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