Sound Open Firmware
Loading...
Searching...
No Matches

User-space ABI log levels and binary trace packet header definitions. More...

Include dependency graph for trace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  log_entry_header
 Binary log packet header preceding variable arguments in DMA trace stream. More...
 

Macros

#define TRACE_CLASS_DEPRECATED   (0)
 Legacy trace event class (deprecated)
 
#define LOG_ENABLE   1
 Enable active logging.
 
#define LOG_DISABLE   0
 Disable logging.
 
#define TRACE_ID_LENGTH   12
 Bitfield width of component and pipeline trace identifiers.
 
Logging Severity Levels

Severity ranking for runtime message filtering.

#define LOG_LEVEL_CRITICAL   1
 Critical failure or unrecoverable error (fatal)
 
#define LOG_LEVEL_ERROR   LOG_LEVEL_CRITICAL
 Alias for critical errors.
 
#define LOG_LEVEL_WARNING   2
 Warning conditions requiring attention.
 
#define LOG_LEVEL_INFO   3
 Normal informational operational messages.
 
#define LOG_LEVEL_DEBUG   4
 Detailed debug logging.
 
#define LOG_LEVEL_VERBOSE   LOG_LEVEL_DEBUG
 Verbose debug logging.
 

Detailed Description

User-space ABI log levels and binary trace packet header definitions.

Macro Definition Documentation

◆ LOG_DISABLE

#define LOG_DISABLE   0

Disable logging.

◆ LOG_ENABLE

#define LOG_ENABLE   1

Enable active logging.

◆ LOG_LEVEL_CRITICAL

#define LOG_LEVEL_CRITICAL   1

Critical failure or unrecoverable error (fatal)

◆ LOG_LEVEL_DEBUG

#define LOG_LEVEL_DEBUG   4

Detailed debug logging.

◆ LOG_LEVEL_ERROR

#define LOG_LEVEL_ERROR   LOG_LEVEL_CRITICAL

Alias for critical errors.

◆ LOG_LEVEL_INFO

#define LOG_LEVEL_INFO   3

Normal informational operational messages.

◆ LOG_LEVEL_VERBOSE

#define LOG_LEVEL_VERBOSE   LOG_LEVEL_DEBUG

Verbose debug logging.

◆ LOG_LEVEL_WARNING

#define LOG_LEVEL_WARNING   2

Warning conditions requiring attention.

◆ TRACE_CLASS_DEPRECATED

#define TRACE_CLASS_DEPRECATED   (0)

Legacy trace event class (deprecated)

◆ TRACE_ID_LENGTH

#define TRACE_ID_LENGTH   12

Bitfield width of component and pipeline trace identifiers.