Home
last modified time | relevance | path

Searched full:log (Results 1 – 25 of 2771) sorted by relevance

12345678910>>...111

/Zephyr-latest/tests/subsys/logging/log_blocking/
DREAME.md1 # Blocking the Log Processing Thread
5 When the core log buffer becomes full, the logging subsystem can be configured to
7 * Drop older log messages with `CONFIG_LOG_MODE_OVERFLOW=y` (**default**)
8 * Drop newer log messages with `CONFIG_LOG_MODE_OVERFLOW=n`, or
9 * Drop no log messages at all with `CONFIG_LOG_BLOCK_IN_THREAD=y`, `CONFIG_LOG_BLOCK_IN_THREAD_TIME…
11 In the last configuration, the log processing thread will block until space
12 becomes available again in the core log buffer.
14 > Warning ⚠️: Blocking the log processing thread is generally not recommended
21 log message flow rates. Typically, one would describe log message flow rates
42 Many log backends, such as UARTs, have a built-in hardware FIFO that
[all …]
DKconfig7 int "Number of log messages per test"
11 int "Maximal input log rate for the test (in msg/s)"
18 int "Maximal output log rate for the test (in msg/s)"
21 Specify the maximum rate at which log messages will be handled by
22 the log backend.
/Zephyr-latest/subsys/logging/backends/
DKconfig.fs12 Log messages are discarded as long as the file system is not mounted.
28 bool "Old log files overwrite"
31 When enabled backend overwrites oldest log files.
35 bool "Append to the newest log file"
38 When enabled and when there is space left in the newest log file,
40 When disabled backend creates a new log file on every startup.
43 string "Log file name prefix"
44 default "log."
46 User defined name of log files saved in the file system.
47 The prefix is followed by the number of log file.
[all …]
/Zephyr-latest/tests/boards/nrf/coresight_stm/
Dtestcase.yaml21 - nordic-log-stm-dict
34 - nordic-log-stm
47 - nordic-log-stm-dict
60 - "Timing for log message with 0 arguments:"
61 - "Timing for log message with 1 argument:"
62 - "Timing for log message with 2 arguments:"
63 - "Timing for log message with 3 arguments:"
66 - nordic-log-stm
79 - "Timing for log message with 0 arguments:"
80 - "Timing for log message with 1 argument:"
[all …]
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dremote-fw-service.py17 # Global variable use to sync between log and request services.
42 log = logging.getLogger("remote-fw") variable
51 log.info("Receiving...")
61 log.info(f'size:{fsize}, filename:{fname}, MD5:{md5_tx_b}')
70 log.info(f"Done Receiving {len(total)}.")
76 log.error(f"Get exception {e} during FW transfer.")
84 log.error(f'MD5 mismatch: {md5_tx} vs. {md5_rx}')
99 log.error("Cannot find the FW file.")
104 log.info(f"{self.client_address[0]} wrote: {cmd}")
106 log.debug(f'load {action}')
[all …]
Dcavstool_client.py32 log = logging.getLogger("cavs-client") variable
33 log.setLevel(logging.INFO)
49 log.info(f"Sent: {cmd}")
51 log.info(f"Receive: {ack}")
58 log.error(f"Receive incorrect msg:{ack} expect:{cmd}")
72 log.info(f'filename:{fname}, size:{fsize}, md5:{md5_tx}')
77 log.info(f'header size: {header_size}')
80 log.info(f'Sending...')
85 log.info(f"Done Sending ({total}).")
88 log.info(f"RCK ({rck}).")
[all …]
/Zephyr-latest/subsys/logging/
DKconfig.processing22 If enabled, then if there is no space to log a new message, the
38 If new buffer for a log message cannot be allocated in that time, log
44 int "Number of buffered log messages before flushing"
49 up. Log processing thread ID is provided during log initialization.
54 bool "Use internal thread for log processing"
66 int "Set log processing thread startup delay"
69 Log processing thread starts after requested delay given in
73 int "Set internal log processing thread sleep period"
76 Log processing thread sleeps for requested period given in
80 int "Stack size for the internal log processing thread"
[all …]
DKconfig6 config LOG config
10 Global switch for the logger, when turned off log calls will not be
13 if LOG
16 int "Log Core Initialization Priority"
52 endif # LOG
57 Module which provides formatting of log messages to a human-readable
DKconfig.mode15 Log messages are buffered and processed later. This mode has the
22 When enabled log is processed in the context of the call. It impacts
24 performed in the context of the log entry (e.g. high priority
26 flawlessly in that mode because one log operation can be interrupted
61 used for the most common log messages.
64 bool "Include Custom Log Header"
67 "zephyr_custom_log.h", is included at the end of log.h. This enables
69 The internal LOG API may change in future releases.
81 int "Sleep time when flushing the log queue, microseconds"
DKconfig.filtering14 int "Default log level"
18 Sets log level for modules which don't specify it explicitly. When
19 set to 0 it means log will not be activated for those modules.
29 int "Override lowest log level"
33 Forces a minimum log level for all modules. Modules use their
46 int "Maximal log level compiled in the system"
50 Forces a maximal log level for all modules. Modules saturates their
/Zephyr-latest/tests/subsys/logging/log_core_additional/src/
Dlog_test.c9 * @brief Additional test case for log core
20 #include <zephyr/logging/log.h>
46 /* count log messages handled by this backend */
48 /* count log messages handled immediately by this backend */
72 if (log_msg_get_level(&(msg->log)) == LOG_LEVEL_INTERNAL_RAW_STRING) { in process()
81 zassert_equal(log_msg_get_domain(&(msg->log)), Z_LOG_LOCAL_DOMAIN_ID, in process()
88 zassert_equal(log_msg_get_timestamp(&(msg->log)), exp_timestamp, in process()
93 zassert_equal(log_msg_get_level(&(msg->log)), in process()
95 "Unexpected log severity"); in process()
106 zassert_equal(log_msg_get_domain(&(msg->log)), domain, in process()
[all …]
/Zephyr-latest/scripts/logging/dictionary/
Dlog_parser.py9 Log Parser for Dictionary-based Logging
12 log data and print the log messages.
34 argparser.add_argument("logfile", help="Log Data file")
36 help="Log Data file is in hexadecimal strings")
38 help="Log file only contains hexadecimal log data")
47 Read the log from file
52 # Open log data file for reading
55 # Simply log file with only hexadecimal data
65 logger.error("ERROR: Cannot find start of log data, exiting...")
81 # figure out where the end of log data stream by
[all …]
/Zephyr-latest/samples/boards/nordic/coresight_stm/
DREADME.rst10 Also, it prints timing for different log messages.
73 rad: Timing for log message with 0 arguments: 5.10us
74 rad: Timing for log message with 1 argument: 6.10us
75 rad: Timing for log message with 2 arguments: 6.0us
76 rad: Timing for log message with 3 arguments: 6.40us
80 flpr: Timing for log message with 0 arguments: 1.20us
81 flpr: Timing for log message with 1 argument: 1.20us
82 flpr: Timing for log message with 2 arguments: 1.20us
83 flpr: Timing for log message with 3 arguments: 1.30us
87 app: Timing for log message with 0 arguments: 1.80us
[all …]
Dsample.yaml20 - nordic-log-stm-dict
32 - nordic-log-stm
43 - "Timing for log message with 0 arguments:"
44 - "Timing for log message with 1 argument:"
45 - "Timing for log message with 2 arguments:"
46 - "Timing for log message with 3 arguments:"
/Zephyr-latest/scripts/build/
Dllext_inject_slids.py32 def __init__(self, elf_path, log): argument
33 self.log = log
45 self.log.error(f"unexpected ELF file type {e_type}")
50 self.log.debug(f"section {symtab_name} not found.")
53 self.log.info(f"processing symbol table from '{symtab_name}'...")
54 self.log.debug(f"(symbol table is at file offset 0x{symtab['sh_offset']:X})")
66 self.log.debug(f"found imported symbol '{sym.name}' at index {i}")
76 self.log.error("no symbol table found in file")
81 self.log.info(f"LLEXT has {len(imports)} import(s)")
119 self.log.info(msg)
[all …]
/Zephyr-latest/include/zephyr/shell/
Dshell_log_backend.h21 /** @brief Shell log backend states. */
29 /** @brief Shell log backend control block (RW data). */
35 /** @brief Shell log backend instance structure (RO data). */
45 /** @brief Shell log backend message structure. */
55 * @brief Macro for creating instance of shell log backend.
60 * @param _queue_size Log message queue size.
65 * @brief Macro for retrieving pointer to the instance of shell log backend.
100 /** @brief Enable shell log backend.
102 * @param backend Shell log backend instance.
104 * @param init_log_level Initial log level set to all logging sources.
[all …]
/Zephyr-latest/subsys/net/
DKconfig.template.log_config.default.net1 # Kconfig template file for setting networking log level for
3 # allows user to specify the default log level.
20 Do not write to log.
25 Only write to log when NET_ERR or LOG_ERR is used.
30 Write to log with NET_WARN or LOG_WRN in addition to previous level.
35 Write to log with NET_INFO or LOG_INF in addition to previous levels.
40 Write to log with NET_DBG or LOG_DBG in addition to previous levels.
DKconfig.template.log_config.net1 # Kconfig template file for setting networking log level for
19 Do not write to log.
24 Only write to log when NET_ERR or LOG_ERR is used.
29 Write to log with NET_WARN or LOG_WRN in addition to previous level.
34 Write to log with NET_INFO or LOG_INF in addition to previous levels.
39 Write to log with NET_DBG or LOG_DBG in addition to previous levels.
44 Use default log level.
/Zephyr-latest/samples/subsys/logging/logger/src/
Dext_log_system.h13 /** Log message priority levels */
23 /** Log message handler type. */
27 /** @brief Set log handler function.
29 * @param handler External log handler.
33 /** @brief Example function which is using custom log API. */
36 /** @brief Custom log API. */
Dext_log_system.c18 ext_log(EXT_LOG_CRITICAL, "critical level log"); in ext_log_system_foo()
20 ext_log(EXT_LOG_ERROR, "error level log, 1 arguments: %d", 1); in ext_log_system_foo()
22 ext_log(EXT_LOG_WARNING, "warning level log, 2 arguments: %d %d", 1, 2); in ext_log_system_foo()
24 ext_log(EXT_LOG_NOTICE, "notice level log, 3 arguments: %d, %s, 0x%08x", in ext_log_system_foo()
27 ext_log(EXT_LOG_INFO, "info level log, 4 arguments : %d %d %d %d", in ext_log_system_foo()
30 ext_log(EXT_LOG_DEBUG, "debug level log, 5 arguments: %d %d %d %d %d", in ext_log_system_foo()
/Zephyr-latest/tests/subsys/logging/log_disabled/src/
Dmain.c8 #include <zephyr/logging/log.h>
23 LOG_DBG("Debug log %u", dummy_1); in main()
24 LOG_INF("Info log %u", dummy_2); in main()
25 LOG_WRN("Warning log %u", dummy_3); in main()
26 LOG_ERR("Error log %u", dummy_4); in main()
32 LOG_PRINTK("Printk log %u\n", dummy_6); in main()
34 LOG_RAW("Raw log %u\n", dummy_7); in main()
/Zephyr-latest/include/zephyr/logging/
Dlog_output_dict.h21 * Log message type
29 * Output header for one dictionary based log message.
42 * Output for one dictionary based log message about
50 /** @brief Process log messages v2 for dictionary-based logging.
55 * @param log_output Pointer to the log output instance.
56 * @param msg Log message.
64 * Function prints error message indicating lost log messages.
66 * @param output Pointer to the log output instance.
Dlog_frontend.h15 /** @brief Log generic message.
18 * context of log message call, implementation can use its own timestamping scheme.
35 /** @brief Log message with 0 arguments.
37 * Optimized version for log message which does not have arguments (only string).
38 * This API is optional and is used only if optimizing common log messages is enabled.
49 /** @brief Log message with 1 argument.
51 * Optimized version for log message which has one argument that fits in a 32 bit word.
52 * This API is optional and is used only if optimizing common log messages is enabled.
64 /** @brief Log message with 2 arguments.
66 * Optimized version for log message which has two arguments that fit in a 32 bit word.
[all …]
/Zephyr-latest/scripts/
Dset_assignees.py21 def log(s): function
63 log(f"working on https://github.com/{args.org}/{args.repo}/pull/{pr.number} : {pr.title}")
81 log(f"Too many files changed ({len(fn)}), skipping....")
86 log(f"file: {changed_file.filename}")
109 log(f"Area matches: {area_counter}")
110 log(f"labels: {labels}")
118 log(f"collab: {collab}")
122 log(f"Submitted by: {pr.user.login}")
123 log(f"candidate maintainers: {_all_maintainers}")
151 log(f"Picked assignees: {assignees} ({prop:.2f}% ownership)")
[all …]
/Zephyr-latest/scripts/coredump/
Dcoredump_serial_log_parser.py22 parser.add_argument("infile", help="Serial Log File")
52 # Found "BEGIN#" - beginning of log
58 # Found "END#" - end of log
65 # log is not usable
86 print("ERROR: Beginning of log not found!")
88 print("WARN: End of log not found! Is log complete?")
90 print("ERROR: log has error.")

12345678910>>...111